Posted: Thu Oct 23, 2008 12:28 pm Post subject: WebService provider using Soap Request and Java Compute node
Newbie
Joined: 16 Oct 2008 Posts: 9
Hi,
I have webservice which has one method. I have WSDL file method will look like.MyWebSerResponse:result webServiceCall(MyWebSerRequest:request). I generated messageset using broker toolkit option of creating message sets from wsdl file.
request : its of type MyWebSerRequest complex type, defination which is define in another XSD file and its has two string attribute let say (name,age).
response: Same like request response is of complex type MyWebSerResponse complex type which is define in another XSD file and it has also string attributes lik (job,age).
I create webservice on message broker using drag and drop feature of WSDL to my flow and i my webservice is avaiable for request.
I m using java compute node to build my webservice response and that java compute node out terminal is attached to soap reply node.
Problem is that I created response using java compute node by adding element to XMLNSC tree like, <MyWebSerResponse><response><age>12</age><job>abc</job></response></MyWebSerResponse>.
But problem is that when client get its response it didnt identiy that response is of type "MyWebSerResponse". I mean i cannot set type while creating response in java compute node.is there any way i use XSD to develop response obeject in java compute node and forward it to out terminal.
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