axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4116) wsdl2java generated contains QName("" , whihc results in Uexpected sublement error when client code is executed
Date Wed, 05 Nov 2008 08:37:44 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645171#action_12645171
] 

Amila Chinthaka Suriarachchi commented on AXIS2-4116:
-----------------------------------------------------

you have used the rpc style in your wsdl. For rpc style always request and response messages
are wrapped with operation name and immediate sub elements are not namespace qualified.

<wsdl:message name="undeploy_imageRequest">
            <part name="parameters" type="nas:undeploy_imageInputParms"/>
            <part name="header" element="nas:RequestHeader"/>
        </wsdl:message>

i.e elements parameters, header are not namespace qualified.

please see here http://wso2.org/library/2935
 

> wsdl2java generated contains QName("" , whihc results in Uexpected sublement error when
client code is executed
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4116
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4116
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: windows/Linux Axis1.4.1
>            Reporter: murali mohan dingari
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>             Fix For: 1.4.1
>
>         Attachments: axis2.wsdl
>
>
> the generated code contains lot of places QName("",
> for example
> 1)              localParameters.serialize(new javax.xml.namespace.QName("","parameters"),
>                                                factory,xmlWriter);
>                                         
>                     xmlWriter.writeEndElement();
>                
> 2)getPullParse method
>  
>                             elementList.add(new javax.xml.namespace.QName("",
>                                                                       "Result"));
> I have mentioned my targetnamespace in the wsdl but still getting this error,  because
of this my client code throws unexpected submelement Result/Properties ADBException, I need
to resolve this asap as the release is on hold for this issue , can some one help me ASAP
> I have tested with latest nightly build 197 also

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message