Hi all,
I'm trying to use WebServices with OPS and I have some questions. 1/ Is it possible to use MS WebServices with OPS ? As I'm a newbe with these technologies, I'm trying to make a very simple test. I attached 3 files that show the problem I have : WSDL.xml is the WSDL given by MS for my WebService. model.xpl is the OPS invocation of this WebService. Error.xml is the OPS runtime error... 2/ Is it possible to run MS WebService with Tomcat ? TIA, Marc -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws model.xpl (1K) Download Attachment WSDL.xml (3K) Download Attachment error.xml (1K) Download Attachment |
web services are platform independent, so what you want to do is not only possible, but the basic idea of web services. The only MS part here is one namespace (tm:), that is actually not used at all in the wsdl file. You should take a closer look to the orbeon documentation. The Moby web services use the "document" style. I tried to configure your example, but your files are missing a very important piece of information: the endpoint, i.e. the actual URL of the webservice. If you add that to my example, you should come closer to your goal. Hope that helps. :oliver <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:delegation="http://orbeon.org/oxf/xml/delegation" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <p:param type="input" name="instance"/> <p:param type="output" name="data"/> <p:processor name="oxf:delegation" xmlns:p="http://www.orbeon.com/oxf/pipeline"> <p:input name="interface"> <config> <service id="mobyweb" type="webservice" endpoint="...???"> <operation name="Test" soap-action="http://Mobydoc/MobyWeb/Test"/> </service> </config> </p:input> <p:input name="call"> <delegation:execute service="mobyweb" operation="Test" xmlns:delegation="http://orbeon.org/oxf/xml/delegation"> </delegation:execute> </p:input> <p:output name="data" ref="data"/> </p:processor> </p:config> [hidden email] schrieb: Hi all, I'm trying to use WebServices with OPS and I have some questions. 1/ Is it possible to use MS WebServices with OPS ? As I'm a newbe with these technologies, I'm trying to make a very simple test. I attached 3 files that show the problem I have : WSDL.xml is the WSDL given by MS for my WebService. model.xpl is the OPS invocation of this WebService. Error.xml is the OPS runtime error... 2/ Is it possible to run MS WebService with Tomcat ? TIA, Marc -- ----------------------- oliver charlet software development 11-041 Olsztyn, Poland [hidden email] ----------------------- -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Marc.Benimeli
Oliver,
Thank you for your answear.
The missing attribute style="document" caused the
trouble.
You point me to
the most important problem : I have to read all the
documentation...
I have just read
the WebServices document and all the information I needed is in the delegation
processor documentation.
After that it
works straight forward.
Marc De : Oliver Charlet [mailto:[hidden email]] Envoyé : vendredi 2 décembre 2005 21:41 À : [hidden email] Objet : Re: [ops-users] OPS WebService web services are platform independent, so what you want to do is not only possible, but the basic idea of web services. The only MS part here is one namespace (tm:), that is actually not used at all in the wsdl file. You should take a closer look to the orbeon documentation. The Moby web services use the "document" style. I tried to configure your example, but your files are missing a very important piece of information: the endpoint, i.e. the actual URL of the webservice. If you add that to my example, you should come closer to your goal. Hope that helps. :oliver <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:delegation="http://orbeon.org/oxf/xml/delegation" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <p:param type="input" name="instance"/> <p:param type="output" name="data"/> <p:processor name="oxf:delegation" xmlns:p="http://www.orbeon.com/oxf/pipeline"> <p:input name="interface"> <config> <service id="mobyweb" type="webservice" endpoint="...???"> <operation name="Test" soap-action="http://Mobydoc/MobyWeb/Test"/> </service> </config> </p:input> <p:input name="call"> <delegation:execute service="mobyweb" operation="Test" xmlns:delegation="http://orbeon.org/oxf/xml/delegation"> </delegation:execute> </p:input> <p:output name="data" ref="data"/> </p:processor> </p:config> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |