*
The moose likes Web Services and the fly likes org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement " Watch "org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement " New topic
Author

org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement

Carlo Ponchielli
Greenhorn

Joined: Apr 22, 2009
Posts: 6
axis 2.1.5.2

org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement westernUnionCheckResponse

this is my wsdl




this is my response





where is the problem?
thanks
Carlo Ponchielli
Greenhorn

Joined: Apr 22, 2009
Posts: 6
Carlo Ponchielli wrote:

<?xml version="1.0" encoding="UTF-8"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><NS1:westernUnionCheckResponse xmlns:NS1="http://safewatch.isp.it/"><return>OK</return></NS1:westernUnionCheckResponse></S:Body></S:Envelope>[/code]


where is the problem?
thanks



maybe the problem is "NS1="http://safewatch.isp.it/"?
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1167
Carlo,

I doubt that's the issue since your response matches perfectly with the example provided at Web Services Description Language (WSDL) 1.1 -



And yours -



Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Carlo Ponchielli
Greenhorn

Joined: Apr 22, 2009
Posts: 6


https://forums.aws.amazon.com/thread.jspa?threadID=59913
i have solved using "-d jaxbri"

thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement
 
Similar Threads
WDSL2Java using Axis2 via Ant in Eclipse
Error Building Java Application
Error creatin Top down web service with Eclipse Helios
error in wsdl
What's Wrong with this simple WSDL