2 Replies Latest reply on Dec 19, 2013 3:31 AM by panyu0627

    Webservice call SOAP Client Action doesnt work

    mgrande

      Hi,

       

      First of all,let you know that we are beginners in the development with JBOSS,so sorry if we say any stupid thing.

       

      We have created a SOAPClient Acton in a ESB with this properties first calling a Request and later a Respond:

       

      <action class="es.vass.util.MyRequestActionMyRequestAction" name="PreparaRequest"/> 
      <action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="weatherMola">
           <property name="wsdl" value="http://www.webservicex.com/globalweather.asmx?WSDL"/>
           <property name="SOAPAction" value="http://www.webserviceX.NET/GetCitiesByCountry"/>
           <property name="responseAsOgnlMap" value="true"/>
      </action>
      <action class="es.vass.util.MyRequestActionMyRequestAction" name="PreparaRequest"/>
      
      

       

      We call the action with a ESB message and it returns:

       

      09:37:18,244 INFO  [InquiryHelper] uddi:juddi.apache.org:c79564de-eb3d-470d-aba7-c85217fc70c8 is modified Wed Oct 17 16:03:03 CEST 2012 1350482583192
      09:37:23,360 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
      09:37:23,362 INFO  [STDOUT] Request map is: {GetCitiesByCountry.CountryName=Spain}
      09:37:23,362 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
      09:37:23,396 INFO  [STDOUT] Progress: 1 - Caching definition from url [http://www.webservicex.com/globalweather.asmx?WSDL]
      09:37:24,576 INFO  [STDOUT] Progress: 1 - Loading definition from cache
      09:37:24,582 INFO  [STDOUT] Retrieving document at 'http://www.webservicex.com/globalweather.asmx?WSDL'.
      09:37:24,660 INFO  [SchemaUtils] Loading schema types from [http://www.webservicex.com/globalweather.asmx?WSDL]
      09:37:24,677 INFO  [SchemaUtils] Getting schema http://www.webservicex.com/globalweather.asmx?WSDL
      09:37:25,635 INFO  [SchemaUtils] schema for [http://www.webserviceX.NET] contained [{}] namespaces
      09:37:26,246 INFO  [WsdlImporter] Finding importer for {http://www.webserviceX.NET}GlobalWeatherHttpPost
      09:37:26,248 INFO  [WsdlImporter] Missing importer for {http://www.webserviceX.NET}GlobalWeatherHttpPost
      09:37:26,248 INFO  [WsdlImporter] Finding importer for {http://www.webserviceX.NET}GlobalWeatherSoap12
      09:37:26,317 INFO  [WsdlImporter] Importing binding {http://www.webserviceX.NET}GlobalWeatherSoap12
      09:37:26,322 INFO  [Soap12HttpBindingImporter] importing endpoint http://www.webservicex.com/globalweather.asmx
      09:37:26,393 INFO  [Soap12HttpBindingImporter] importing operation GetCitiesByCountry
      09:37:26,394 INFO  [Soap12HttpBindingImporter] importing operation GetWeather
      09:37:26,395 INFO  [WsdlImporter] Finding importer for {http://www.webserviceX.NET}GlobalWeatherSoap
      09:37:26,395 INFO  [WsdlImporter] Importing binding {http://www.webserviceX.NET}GlobalWeatherSoap
      09:37:26,396 INFO  [Soap11HttpBindingImporter] importing endpoint http://www.webservicex.com/globalweather.asmx
      09:37:26,413 INFO  [Soap11HttpBindingImporter] importing operation GetCitiesByCountry
      09:37:26,422 INFO  [Soap11HttpBindingImporter] importing operation GetWeather
      09:37:26,423 INFO  [WsdlImporter] Finding importer for {http://www.webserviceX.NET}GlobalWeatherHttpGet
      09:37:26,423 INFO  [WsdlImporter] Missing importer for {http://www.webserviceX.NET}GlobalWeatherHttpGet
      09:37:26,423 INFO  [WsdlImporter] Finding importer for {http://www.webserviceX.NET}GlobalWeatherHttpGet
      09:37:26,457 INFO  [WsdlImporter] Missing importer for {http://www.webserviceX.NET}GlobalWeatherHttpGet
      09:37:26,457 INFO  [WsdlImporter] Finding importer for {http://www.webserviceX.NET}GlobalWeatherHttpPost
      09:37:26,458 INFO  [WsdlImporter] Missing importer for {http://www.webserviceX.NET}GlobalWeatherHttpPost
      09:37:26,479 INFO  [STDOUT] Progress: 1 - Caching definition from url [http://www.webservicex.com/globalweather.asmx?WSDL]
      09:37:26,932 INFO  [STDOUT] Progress: 1 - Loading definition from cache
      09:37:26,948 INFO  [STDOUT] Retrieving document at 'http://www.webservicex.com/globalweather.asmx?WSDL'.
      09:37:26,974 INFO  [SchemaUtils] Loading schema types from [http://www.webservicex.com/globalweather.asmx?WSDL]
      09:37:26,974 INFO  [SchemaUtils] Getting schema http://www.webservicex.com/globalweather.asmx?WSDL
      09:37:27,104 INFO  [SchemaUtils] schema for [http://www.webserviceX.NET] contained [{}] namespaces
      09:37:27,231 INFO  [SchemaUtils] Getting schema http://www.webservicex.com/globalweather.asmx?WSDL
      09:37:27,729 WARN  [ActionProcessingPipeline] No fault address defined for fault message! To: JMSEpr [ PortReference < <wsa:Address jms:127.0.0.1:1099#queue/esb_channel/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:destination-name : queue/esb_channel/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: 76891731-9980-4511-a82e-8fc03d6cd53b RelatesTo: jms:correlationID#76891731-9980-4511-a82e-8fc03d6cd53b
      09:37:27,813 INFO  [InquiryHelper] uddi:juddi.apache.org:e60d75e7-29e1-4455-82df-3cfff3236390 is modified Tue Oct 16 17:45:39 CEST 2012 1350402339761
      

       

      It doesnt do anything else and we dont see any respond. We have truied the webservice with SoapUI and we know that its working. What can check to know what can be wrong?

       

      We are working with JBOSS AS 5.1 and JBOSS ESB 4.10 in a local server. We use for the development JBOSS developer.

       

      Thanks you in ad