0 Replies Latest reply on Sep 18, 2009 11:49 AM by diet ice

    Port does not contain operation meta data for

    diet ice Newbie

      hi there. i have created a ws wich works as expected in e.g. soapUI.

      but i have a few problems with a clint. its generated xml:

      <?xml version="1.0"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SupportServiceSvc="http://ws.controller.mydomain.de/" xsl:version="1.0">
       <soap:Body>
       <login xsi:type="SupportServiceSvc:login">
       <username>admin</username>
       <password>admin</password>
       </login>
       </soap:Body>
      </soap:Envelope>
      


      is rejected with
      17:32:32,703 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
      javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://ws.controller.support.navitas.de/}SupportServicePort does not contain operation meta data for:
       login
      


      and

      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header/>
       <env:Body>
       <env:Fault>
       <faultcode>env:Client</faultcode>
       <faultstring>Endpoint {http://ws.controller.support.navitas.de/}SupportServicePort does not contain operation meta data for: login</faultstring>
       </env:Fault>
       </env:Body>
      </env:Envelope>
      


      the xml seems to be the same with soapUI except this "<login xsi:type="SupportServiceSvc:login">" stuff instead of "<SupportServiceSvc:login>" which is generated by e.g soapUI

      <?xml version="1.0"?>
      <soap:Envelope
      
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      xmlns:SupportServiceSvc="http://ws.controller.support.navitas.de/"
      xsl:version="1.0">
      
       <soap:Body>
       <SupportServiceSvc:login>
       <username>admin</username>
       <password>admin</password>
       </SupportServiceSvclogin>
       </soap:Body>
      </soap:Envelope>
      


      how do i make jboss accept this xml?