axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Commented: (AXIS2-3252) Unexpected subelement
Date Tue, 09 Oct 2007 04:07:50 GMT


Amila Chinthaka Suriarachchi commented on AXIS2-3252:

First of all Can you test this with Axis2 1.3?
How you create your service? Are you invoking a service written in Axis2 or any other framework?
Can you send a zip file with your wsdl and request and response messages as well?

as I can see the cause for this problem is that your response message does not match with
the schema.
it seems there is a missing required element before the element medicineId.

please check around the xml (near the element medicineId) and see whether you getting all
the required 

> Unexpected subelement 
> ----------------------
>                 Key: AXIS2-3252
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: adam
>            Priority: Critical
>         Attachments: 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
> 	at
> 	at
> Caused by: java.lang.RuntimeException: Unexpected subelement medicineId
> 	at$MedicineWVO$Factory.parse(
> 	at$SendMedicenObjetctResponse$Factory.parse(
> 	at
> 	... 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:
For additional commands, e-mail:

View raw message