4 Replies Latest reply on Mar 9, 2011 7:55 AM by rg8458s

    JBoss ESB webservice_consumer_wise

    rg8458s

      Hey,

       

       

      i 'm new at working with an esb and web services.

       

      i will get an response over the jboss esb from a webservices and  i was trying the example with the webservice_consumer_wise. This was working, so no problem.

       

      Then i would change the wsdl  with my own wsdl,

      i changed the properties, but now i don't get an answear from the wsdl but aso no error

      only a warning

       

      The wsdl is also on an applications erver whos running on my computer, so it isn't visible all the time, i attached it here.

      These are configurations

      Message Request

       

      public Message process(Message message) throws Exception

         {

            logHeader();

            String msgBody = (String) message.getBody().get();

            HashMap requestMap = new HashMap();

       

            // add paramaters to the web service request map

            requestMap.put("hasCertificate.course",14);

            requestMap.put("hasCertificate.matrikel",336172);

            message.getBody().add(requestMap);

            System.out.println("Request map is: " + requestMap.toString());

       

            logFooter();

            return message;

         }

       

       

      Response

       

        public Message process(Message message) throws Exception

         {

       

            logHeader();

       

            Map responseMsg = (Map) message.getBody().get();

            System.out.println("Response Map is: " + responseMsg);

       

            logFooter();

            return message;

         }

       

       

      and jboss_esb.xml

      i only changed there the properties

       

       

      <property name="wsdl" value="http://localhost:8080/FHac/services/certificate/SOAP?wsdl"/>

           <property name="SOAPAction" value="hasCertificate"/>

           <property name="EndPointName" value="CertificateWebServicePort"/>

           <property name="serviceName" value="CertificateWebServiceService"/>

             <property name="matrikel"/>

           <property name="course"/>

       

       

       

      can anybody help me?

       

       

      thx