problem with parameter namespace ; xfire client generated from a cxf server wsdl
--------------------------------------------------------------------------------

                 Key: XFIRE-1153
                 URL: http://jira.codehaus.org/browse/XFIRE-1153
             Project: XFire
          Issue Type: Bug
    Affects Versions: 1.2.6
            Reporter: Christian Htiman
            Assignee: Dan Diephouse


Hello all!

first, sorry for my bad english...

I need to dialog with a CXF/OpenEJB web service from a XFire wsdl generated 
client.

People managing the server tell me all the parameter are null. The reason I 
have found is the soap adds "ns1:" prefix to the parameter names :

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soap:Body>
<ns1:verification xmlns:ns1="myNamespace">
<ns1:systemIdent>SYSID</ns1:systemIdent>
<ns1:sessionToken>1231445569844</ns1:sessionToken>
</ns1:verification >
</soap:Body>
</soap:Envelope>

when I send the same soap with soapUI without "ns1:" before the parameter 
names, it works!!!

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soap:Body>
<ns1:verification xmlns:ns1="myNamespace">
<systemIdent>SYSID</systemIdent>
<sessionToken>1231445569844</sessionToken>
</ns1:verification >
</soap:Body>
</soap:Envelope>

I have already added UNQUALIFIED to package-info.java but it is the same result

@javax.xml.bind.annotation.XmlSchema(namespace = "myNamespace", 
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED)

Does anyone know what I should check and/or change in either in the web service 
interface class and/or its implementation?

thank you... really...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to