[jboss-user] [JBoss Web Services Users] - Port does not contain operation meta data for

dietice do-not-reply at jboss.com
Fri Sep 18 11:49:53 EDT 2009


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?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255960#4255960

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255960



More information about the jboss-user mailing list