[jboss-user] [JBoss Web Services Users] - WS Client Problem

jonrowlands83 do-not-reply at jboss.com
Fri Nov 13 13:34:16 EST 2009


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.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265612#4265612

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265612



More information about the jboss-user mailing list