Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with wsimport based pulling from Websphere-7

Ron Alby
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created the wsdl and build the web services. I have expectedContentTypes values in the wsdl to support MTOM. My Websphere generated client runs just fine, and does send the MTOM data in binary.

Here's the problem. When a client attempts to use wsimport to generate their client (hitting the http site), Websphere strips off the expectedContentTypes values and the client generates a non-MTOM client.

Here's the wsdl:

Here is what Webshphere returns for the wsdl:

And here is the referenced xsd (which Websphere stripped out of my wsdl all by themselves):

Note that all references to xmime:expectedContentTypes have been removed.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic