[ 
https://issues.apache.org/jira/browse/AXIS2-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548533
 ] 

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

hi olivier,
Sorry earlier I thought src.zip is a part of jespers request.
I looked at it. as you have mentioned this is a wrong xml.

Look here,
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
    <soapenv:Header 
xmlns:env="br/com/vivo/sigan/schema/interface5/envio/EnviaSolicitacaoNumeroXMLEntrada"
                    xmlns:open="http://www.openuri.org/"/>
    <soapenv:Body>
        <open:enviaSolicitacaoNumeroXMLEntradaResponse>
            <env:enviaSolicitacaoNumeroXMLSaida
                    
xmlns:env="br/com/vivo/sigan/integracao/schema/interface5/envio/EnviaSolicitacaoNumeroXMLSaida">
 
here the two prefixes env and open is declared in Header element and it is used 
in body element. This element prefix declarations should goes
to the element it self or to a parent element.

And also this has the problem I mentioned for jespers request. these schemas do 
not have element elementFormDefault="unqualified" part.
i.e they child elements supposed not to be in the parent namespace.
that is why the request parse correctly when you remove the aud prefix.

it seems that the response message produces by the perl has a lot of problems. 
Please report them at their jira.



> Unexpected subelement 
> ----------------------
>
>                 Key: AXIS2-3252
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3252
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: adam
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>         Attachments: classes.rar, jesperp.zip, src.zip, the classes.rar
>
>
> Hi, 
> I try to make web service with eclipse and axis2 .. and i recieve the 
> following exception and i don't know what is the casue : 
> Exception *****************: 
> Exception in thread "main" java.lang.RuntimeException: 
> java.lang.RuntimeException: Unexpected subelement medicineId
>       at 
> com.cliniccruise.ws.MainClassForWSMainClassForWSSOAP11Port_httpStub.fromOM(MainClassForWSMainClassForWSSOAP11Port_httpStub.java:19136)
>       at 
> com.cliniccruise.ws.MainClassForWSMainClassForWSSOAP11Port_httpStub.sendMedicenObjetct(MainClassForWSMainClassForWSSOAP11Port_httpStub.java:159)
>       at com.cliniccruise.ws.WSClient.main(WSClient.java:20)
> Caused by: java.lang.RuntimeException: Unexpected subelement medicineId
>       at 
> com.cliniccruise.ws.MainClassForWSMainClassForWSSOAP11Port_httpStub$MedicineWVO$Factory.parse(MainClassForWSMainClassForWSSOAP11Port_httpStub.java:14748)
>       at 
> com.cliniccruise.ws.MainClassForWSMainClassForWSSOAP11Port_httpStub$SendMedicenObjetctResponse$Factory.parse(MainClassForWSMainClassForWSSOAP11Port_httpStub.java:988)
>       at 
> com.cliniccruise.ws.MainClassForWSMainClassForWSSOAP11Port_httpStub.fromOM(MainClassForWSMainClassForWSSOAP11Port_httpStub.java:19130)
>       ... 2 more
> The class that i make from it the web service is : "MainClassForWS"  
> and my client test is : "WSClient" 
> All the class relative to this exception in the attachment file 
> i need to know from where this exception come and what causes it and what is 
> the solution for it .
> Thanks.
> M.adam

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to