opensubscriber
   Find in this group all groups
 
Unknown more information…

w : wsif-user@ws.apache.org 10 August 2008 • 1:52PM -0400

How to dynamicly invoke a web service?
by lorkyo

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello, I'm new in using wsif, can anyone give me a example  on how to invoke a webservice? the sample "DynamicInvoker" only support parts as a to be basic type, such as integer, String ansd so on. But if a part refers to a XML element listed below, How should I do?
<xsd:element name="request" type="xsd:string"/>
    <xsd:element name="response" type="xsd:string"/>
</xsd:schema>
  </types>
  <message name="RequestMessage">
    <part name="parameters" element="tns:request"/>
  </message>
  <message name="ResponseMessage">
    <part name="parameters" element="tns:response"/>
  </message>
  <portType name="WFSPortType">
    <operation name="doservice">
      <input message="tns:RequestMessage"/>
      <output message="tns:ResponseMessage"/>
    </operation>
  </portType>
</definitions>

I have tried to pass String object as in put,but get a error :No such operation 'request' .  Do  I need to pass Elements as input parameters? How to generate such Elements and How to set  their values?



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.