|
List Info
Thread: How to create a message
|
|
| How to create a message |

|
2007-07-19 19:23:56 |
|
Hi everybody! I'm trying to invoke dynamicly a ws and I'm having some problems, so I hope you'd solve them. I have to invoke a ws wich has the following typing: <operation name="add">
<input message="tns:AddInputMessage"/> </operation>
<mes sage name="AddInputMessage"> <part name="parameters" element="tns:add"/> </message>
<xsd:element name="add" type="xsd:int"/>
I added the objectPart("add",10) to the inputmessage, but the invokation didn't work. After reading and asking I now It's supposed that I have to construct a Xml message and then call the
operation.executeRequestResponseOperation method. I'm now able to extract information from the wsdl (with WSDL4J and so), but which are the next steps? I have been looking for a solution around the WSIF API (wsif.schema
,..) but I haven't found nothing clear. Maybe I only need a simple code example because I'm a little bit lost with too many functions and my brief time with ws.
I';ll be very pleased if someone could help me
Thank you for your time.
ps: Next step will be taking the types from an outer xml document...I'll try with some faith :P
-- By Miguel Julián (Miky)
http://www.mikysblog.com http://www.youtube.com/watch?v=d6gmp8pf8k4
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|