• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed to find a suitable binding type for use in marshalling

 
Ravi Dwivedi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am calling a WebService by generating the client code from the WSDL, I am able to call some methods of the WebService but while calling one method(i.e pendingAllocation()), I am getting the following error:

com.bea.xml.XmlException : Failed to find suitable binding type for use in marshalling. "(urn:inrm)pendingAllocation". Using java type: dto.AreaCodeInfo schema type.

The AreaCodeInfo implements Serilizable and I am not sure why its giving error while marshalling.
Please let me know how to resolve this issue.

Thanks in advance!!!
Ravi
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi,

Very similar thing but no response.

Happy new year,
Dan
 
Duc Vo
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ravi Dwivedi:
com.bea.xml.XmlException : Failed to find suitable binding type for use in marshalling. "(urn:inrm)pendingAllocation". Using java type: dto.AreaCodeInfo schema type.

Is this the error on the server or the error on the client?
If it is the server's error, then it seems the WSDL does not match the underline implementation code, check that out.
 
Ravi Dwivedi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this the error on the server or the error on the client?
If it is the server's error, then it seems the WSDL does not match the underline implementation code, check that out.



The error is on the client side while calling the method i.e. while marshalling the AddressCodeInfo object.
[ December 29, 2008: Message edited by: Ravi Dwivedi ]
 
Duc Vo
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the late reply. I've just been back from holiday. Have you got the issue resolved yet? and what tools did you use to generate the client stubs?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic