Hi,
Please can you provide link / documentation for an example to create a webservice client? The documentation http://www.orbeon.com/ops/doc/integration-webservices mentions just fragment of the entire application code. Can you provide a link to code for a running application? Thanks -- 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 |
Administrator
|
On 8/2/07, [hidden email] <[hidden email]> wrote:
> Please can you provide link / documentation for an example to create a webservice client? The documentation http://www.orbeon.com/ops/doc/integration-webservices mentions just fragment of the entire application code. Can you provide a link to code for a running application? Since calling a web service consists in posting an XML document to an endpoint, to get another XML document back, my recommendation for you is to use XForms to to this. This only one limitation to using XForms to call web services I am aware of right now: you can't send the action with the SOAPAction HTTP header, in the SOAP 1.1 style. You are fine if your service can take the action as media type parameter in the SOAP 1.2 style, or doesn't need to receive an action. You'll let us know how this works for you! Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- 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 |
Administrator
|
On 8/3/07, Alessandro Vernet <[hidden email]> wrote:
> This only one limitation to using XForms to call web services I am > aware of right now: you can't send the action with the SOAPAction HTTP > header, in the SOAP 1.1 style. You are fine if your service can take > the action as media type parameter in the SOAP 1.2 style, or doesn't > need to receive an action. Erik implemented the what was needed to support the SOAPAction HTTP header, which some SOAP 1.1 services do require. You can find a complete XForms example that calls a web service in the last nightly build by going to the XForms sandbox, selecting the Test Samples tab, and choosing web-service-weather from the drop-down. You can find the source in web-service-weather.xhtml. The attached screenshot shows what you will have on your screen when you run the example. (Maybe I should have picked some location outside of California to have some more "interesting" weather forecast!) Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- 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 web-service-weather.png (110K) Download Attachment |
Free forum by Nabble | Edit this page |