0 Replies Latest reply on Nov 13, 2009 1:34 PM by Jonathan Rowlands

    WS Client Problem

    Jonathan Rowlands Newbie

      I am using wsconsume from a wsdl with the following policy:

      <wsp:Policy wsu:Id="MimePolicy">
      <wsoma:OptimizedMimeSerialization
      wsp:Optional="true" />
      </wsp:Policy>

      The name space comes from
      xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"

      It is referenced by:
      <wsdl:binding name="SomeBinding" type="SomeService">
      <wsp:PolicyReference URI="#MimePolicy" />
      ...

      The problem is when when my client is run against the wsdl an exception is thrown.


      Exception in thread "main" org.jboss.ws.WSException: Policy not supported! #MimePolicy

      I am at a loss as to what to do to fix the problem. I am using the native jboss-ws. Any help would be appreciated.