This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

pass a complex object via WSAD webservices  RSS feed

 
Yair Ogen
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm trying to pass a complex object via webservices. my wsad generated client reacts just fine using the generated xsd files, but when i try to use it at another platform (e.g. visual .net) i don't get the generated xsd files which in return causes an error of an unknown data type.
does any body knoe why the bindings.wsdl doesn't pass my xsd files to the other platform?
cheers,
yair
 
Byron Estes
Ranch Hand
Posts: 313
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yair,
When you produce your proxy usint WSDL.exe you simply need to type in all of the files produced by WSAD as parameters. This includes any .XSD's it produced.
For example:
wsdl /l:vb wsdl\BCSSessionBeanService.wsdl wsdl\BCSSessionBeanBinding.wsdl wsdl\BCSSessionBean.wsdl wsdl\ValueObject.xsd wsdl\BCSSessionBean.xsd wsdl\BCSSessionBeanEJB.wsdl
Inside the MS generated client you should find not only the class which will be the proxy, but an additional class(es) that define your complex types.
Regards,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!