开发者

Problem consuming webservice in grails using ws-client?

Property of webservice

<s:complexType name="Package_Attributes">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string"/>
<s:el开发者_开发问答ement minOccurs="1" maxOccurs="1" name="ID" type="s:int"/>
<s:element minOccurs="1" maxOccurs="1" name="PackageID" type="s:int"/>
</s:sequence>
</s:complexType>

Grails code

def result = proxy.GetPackageAttributes()    
render result.ID
render result.PACKAGEID

Error

i am able to get "ID" but "PACKAGEID" is not working

i am able to consume this in Dot.Net platform, so there is no problem with webservice...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜