FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Incorrect method genereted from WSDL

 
Post new topic   Reply to topic    NetBeans Forums -> SOA Users
View previous topic :: View next topic  
Author Message
Klaas2001



Joined: 13 Oct 2009
Posts: 3

PostPosted: Tue Oct 13, 2009 11:41 am    Post subject: Incorrect method genereted from WSDL Reply with quote

Hi guys,

Can you help me on this. When I try to auto-generate the stub classes in Netbeans from the WSDL given below, all the parameters defined as part of the output message are generated as part of input parameters to the operation in the WSDL and I don't know why.

Code:


<message name = "findAllRequest">
 <part name = "no-parameter" type = "ns:Void"/>
</message>
<message name = findAllResponse>
  <part name = "persList" type = "ns:personList">
   <part name = "addrList" type = "ns:addressList">
</message>

<portType name = "findAllPortType">
<operation name="findAll">
         <input name="findAllInput" message="tns:findAllRequest"/>
         <output name="findAllOutput" message="tns:findAllResponse"/>
 </operation>
</portType>




Here is a snippet of the generated code that has a problem.

port.findAll(noParameter, personList, addressList)

the return type of this method is now void.

Help me.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> SOA Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB