[Users] Testing a published service (on the ESB) which is running on a separated server with petals console
petaleRose [via Petals Forums]
ml-node+s974793n4025175h99 at n3.nabble.com
Tue Jul 17 12:48:21 CEST 2012
Yes, i have tried it.
It is looking way "better" but not totally.
Here is the jbi.xml:
/<?xml version="1.0" encoding="UTF-8"?>
<jbi:jbi xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cdk5="http://petals.ow2.org/components/extensions/version-5"
xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:soap="http://petals.ow2.org/components/soap/version-4"
xmlns:ws.js.ws="http://ws.js.ws/" version="1.0">
<jbi:services binding-component="true">
<jbi:provides endpoint-name="ManagerIdGlsPort"
interface-name="ws.js.ws:ManagerIdGls" service-name="ws.js.ws:ManagerIdGls">
<cdk5:timeout>30000</cdk5:timeout>
<cdk5:validate-wsdl>true</cdk5:validate-wsdl>
<cdk5:forward-security-subject>false</cdk5:forward-security-subject>
<cdk5:forward-message-properties>false</cdk5:forward-message-properties>
<cdk5:forward-attachments>false</cdk5:forward-attachments>
<cdk5:wsdl>ManagerIdGls.wsdl</cdk5:wsdl>
<soap:wsa-to xsi:nil="true"/>
<soap:soap-version>1.1</soap:soap-version>
<soap:chunked-mode>false</soap:chunked-mode>
<soap:cleanup-transport>true</soap:cleanup-transport>
<soap:mode>SOAP</soap:mode>
</jbi:provides>
</jbi:services>
</jbi:jbi>/
Here the wsdl again:
/<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ManagerIdGls" targetNamespace="http://ws.js.ws/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:tns="http://ws.js.ws/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
<types>
<xsd:schema>
<xsd:import namespace="http://ws.js.ws/"
schemaLocation="ManagerIdGls_schema1.xsd"/>
</xsd:schema>
</types>
<message name="InsertIDResponse">
<part name="parameters" element="tns:InsertIDResponse">
</part>
</message>
<message name="Exception">
<part name="fault" element="tns:Exception">
</part>
</message>
<message name="InsertID">
<part name="parameters" element="tns:InsertID">
</part>
</message>
<message name="hello">
<part name="parameters" element="tns:hello">
</part>
</message>
<message name="helloResponse">
<part name="parameters" element="tns:helloResponse">
</part>
</message>
<portType name="ManagerIdGls">
<operation name="hello">
<input message="tns:hello"
wsam:Action="http://ws.js.ws/ManagerIdGls/helloRequest">
</input>
<output message="tns:helloResponse"
wsam:Action="http://ws.js.ws/ManagerIdGls/helloResponse">
</output>
</operation>
<operation name="InsertID">
<input message="tns:InsertID"
wsam:Action="http://ws.js.ws/ManagerIdGls/InsertIDRequest">
</input>
<output message="tns:InsertIDResponse"
wsam:Action="http://ws.js.ws/ManagerIdGls/InsertIDResponse">
</output>
<fault name="Exception" message="tns:Exception"
wsam:Action="http://ws.js.ws/ManagerIdGls/InsertID/Fault/Exception">
</fault>
</operation>
</portType>
<binding name="ManagerIdGlsPortBinding" type="tns:ManagerIdGls">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="hello">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="InsertID">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="Exception">
<soap:fault name="Exception" use="literal"/>
</fault>
</operation>
</binding>
<service name="ManagerIdGls">
<port name="ManagerIdGlsPort" binding="tns:ManagerIdGlsPortBinding">
<soap:address
location="http://141.79.24.54:8088/ReliableCommunicationProducer/ManagerIdGls"/>
</port>
</service>
</definitions>/
Here the input for the test (the rest remains like in the previous posting):
<InsertID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="InsertID">
<id xsi:type="int">82</id>
<msg xsi:type="String">i love petals/msg>
</InsertID>
Here the occured error:
*Response*
/Last sent:
<InsertID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="InsertID">
<id xsi:type="int">82</id>
<msg xsi:type="String">i love petals</msg>
</InsertID>
Returned content:
<S:Fault xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Client</faultcode>
<faultstring>Cannot find dispatch method for {}InsertID</faultstring>
</S:Fault> /
I would be really glad to know what i'm doing wrong here...
_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Testing-a-published-service-on-the-ESB-which-is-running-on-a-separated-server-with-petals-console-tp4025172p4025175.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20120717/608d77a1/attachment.html>
More information about the Users
mailing list