[Users] Testing a published service (on the ESB) which is running on a separated server with petals console

petaleRose [via Petals Forums] ml-node+s974793n4025222h56 at n3.nabble.com
Thu Jul 26 14:25:53 CEST 2012



Thank you to answer to fast.

What to do you mean by "Can you try to get the XSD from your browser?" ??
>From the browser of from my producer-SOAP-BC-SU? Because this where i'm
having the xsd-file in.
So , i don't really understand how i should do it.

And it is true with the fact that i get kind of "?wsdl=*.xsd"!

Here is my wsdl an der adresse über den Proxy

*"<w:definitions name=\"MangerIdGls\" targetNamespace=\"http://ws.js.ws/\">
  <w:types>
    <xs:schema blockDefault=\"\" finalDefault=\"\">
      <xs:import namespace=\"rcvAtMostOnceResponse\"
schemaLocation=\"http://192.168.2.14:8084/petals/services/MangerIdGls?wsdl=MangerIdGls_schema1.xsd\"/>
    </xs:schema>
    <xs:schema blockDefault=\"\" finalDefault=\"\">
      <xs:import namespace=\"http://ws.js.ws/\"
schemaLocation=\"http://192.168.2.14:8084/petals/services/MangerIdGls?wsdl=MangerIdGls_schema2.xsd\"/>
    </xs:schema>
  </w:types>
  <w:message name=\"Exception\">
    <w:part element=\"tns:Exception\" name=\"fault\"/>
  </w:message>
  <w:message name=\"rcvAtMostOnceResponse\">
    <w:part element=\"tns:rcvAtMostOnceResponse\" name=\"parameters\"/>
  </w:message>
  <w:message name=\"rcvAtMostOnce\">
    <w:part element=\"tns:rcvAtMostOnce\" name=\"parameters\"/>
  </w:message>
  <w:message name=\"hello\">
    <w:part element=\"tns:hello\" name=\"parameters\"/>
  </w:message>
  <w:message name=\"helloResponse\">
    <w:part element=\"tns:helloResponse\" name=\"parameters\"/>
  </w:message>
  <w:portType name=\"ManagerIdGls\">
    <w:operation name=\"hello\">
      <w:input message=\"tns:hello\"
wsam:Action=\"http://ws.js.ws/ManagerIdGls/helloRequest\"/>
      <w:output message=\"tns:helloResponse\"
wsam:Action=\"http://ws.js.ws/ManagerIdGls/helloResponse\"/>
    </w:operation>
    <w:operation name=\"rcvAtMostOnce\">
      <w:input message=\"tns:rcvAtMostOnce\"
wsam:Action=\"http://ws.js.ws/ManagerIdGls/rcvAtMostOnceRequest\"/>
      <w:output message=\"tns:rcvAtMostOnceResponse\"
wsam:Action=\"http://ws.js.ws/ManagerIdGls/rcvAtMostOnceResponse\"/>
      <w:fault message=\"tns:Exception\" name=\"Exception\"
wsam:Action=\"http://ws.js.ws/ManagerIdGls/rcvAtMostOnce/Fault/Exception\"/>
    </w:operation>
  </w:portType>
  <w:binding name=\"ManagerIdGlsPortBinding\" type=\"tns:ManagerIdGls\">
    <soap:binding style=\"document\"
transport=\"http://schemas.xmlsoap.org/soap/http\"/>
    <w:operation name=\"hello\">
      <soap:operation soapAction=\"\"/>
      <w:input>
        <soap:body use=\"literal\"/>
      </w:input>
      <w:output>
        <soap:body use=\"literal\"/>
      </w:output>
    </w:operation>
    <w:operation name=\"rcvAtMostOnce\">
      <soap:operation soapAction=\"\"/>
      <w:input>
        <soap:body use=\"literal\"/>
      </w:input>
      <w:output>
        <soap:body use=\"literal\"/>
      </w:output>
      <w:fault name=\"Exception\">
        <soap:fault name=\"Exception\" use=\"literal\"/>
      </w:fault>
    </w:operation>
  </w:binding>
  <w:service name=\"MangerIdGls\">
    <w:port binding=\"tns:ManagerIdGlsPortBinding\"
name=\"ManagerIdGlsPort\">
      <soap:address
location=\"http://192.168.2.14:8084/petals/services/MangerIdGls\"/>
    </w:port>
  </w:service>
</w:definitions> "*




My jbi in Producer-SOAP-SU looks like this:

*<?xml version="1.0" encoding="UTF-8"?>
<jbi:jbi 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:MangerIdGls">
      <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>true</cdk5:forward-message-properties>
      <cdk5:forward-attachments>false</cdk5:forward-attachments>
      <cdk5:wsdl>MangerIdGls.wsdl</cdk5:wsdl>
     
<soap:wsa-to>http://141.79.24.54:8088/ReliableCommunicationProducer/MangerIdGls</soap:wsa-to>
      <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>*

My jbi in Proxy-COnsumer-SOAP-SU looks like this:

*<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jbi:jbi xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:cdk5="http://petals.ow2.org/components/extensions/version-5"
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:consumes interface-name="ws.js.ws:ManagerIdGls"
service-name="ws.js.ws:MangerIdGls">

			
			<cdk5:timeout>30000</cdk5:timeout>
            <cdk5:mep>InOut</cdk5:mep>

			
			<soap:service-name>MangerIdGls</soap:service-name>
            <soap:mode>SOAP</soap:mode>
            <soap:enable-http-transport>true</soap:enable-http-transport>
            <soap:enable-jms-transport>false</soap:enable-jms-transport>
        </jbi:consumes>
    </jbi:services>
</jbi:jbi>*





_______________________________________________
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-tp4025172p4025222.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/20120726/05e5e892/attachment-0001.html>


More information about the Users mailing list