• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problem with wsimport based pulling from Websphere-7

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic