在M wsdl2objc生成的代碼,我有:wsdl2objc NSString的錯誤
@interface tns6_EntityType : NSString {
/* elements */
/* attributes */
NSNumber * id_;
}
然而,當我得到這個類型的元素,我得到以下錯誤:
2011-03-26 21:23:02.428 Pez[47129:a0f] Exception detected while handling key input.
2011-03-26 21:23:02.428 Pez[47129:a0f] * -length only defined for abstract class. Define -[tns6_EntityType length]!
有誰知道如何解決這個問題?
感謝
我已經試過了。我得到了同樣的錯誤 – 2011-03-26 19:49:09
你可以發佈你的實現(在你的原始問題中)'[tns6_EntityType length]'嗎? – Tim 2011-03-27 02:02:26
對不起,遲到的迴應。我修改了wsdl以擁有一個NSString和一個NSNumber。我的實現是返回[超長],但它不起作用。 – 2011-03-30 14:07:16