I've just seen that you forgot the soap="true" attribute on the <http:endpoint /> tag. Without this, it will just send the xml content and not a soap request. You may also need to adjust soapVersion and / or soapAction.
On 8/8/06, yangf <[EMAIL PROTECTED]> wrote:
Thanks a lot. I will try both tools. Since the web service is running on weblogic, I invoked the method from the test page in weblogic console. The screenshot is attached. Teh request and response I got from the testing page are =================================== Output values from the server Parameter Name Parameter Value Return Value DIB Request sent to the server <!--REQUEST.................--> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <m:getSiteNames xmlns:m="http://mil.dcgs/CatalogWebService"> </m:getSiteNames> </env:Body> </env:Envelope> Response from the server <!--RESPONSE.................--> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <m:getSiteNamesResponse xmlns:m="http://mil.dcgs/CatalogWebService"> <result soapenc:arrayType="xsd:string[1]"> <string xsi:type="xsd:string">DIB</string> </result> </m:getSiteNamesResponse> </env:Body> </env:Envelope> http://www.nabble.com/user-files/222/getSiteNames.rtf getSiteNames.rtf -- View this message in context: http://www.nabble.com/External-Webservices-binding-%28the-answer%29-tf1971463.html#a5711104 Sent from the ServiceMix - User forum at Nabble.com.
-- Cheers, Guillaume Nodet
