[jboss-user] [JBossWS] - org.jboss.ws.WSException: Cannot obtain operation meta data

karypid do-not-reply at jboss.com
Tue Aug 4 09:45:33 EDT 2009


Hi,

I'm trying to create a web service client with WS-RM enabled, that will work with a WebLogic 10gR3 service. When I run the client I get:

***********************
  | Create Web Service Client...
  | Create Web Service...
  | Call Web Service Operation...
  | Exception in thread "main" org.jboss.ws.extensions.wsrm.api.RMException: Unable to create WSRM sequence
  | 	at org.jboss.ws.core.jaxws.client.ClientImpl.createSequence(ClientImpl.java:573)
  | 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:168)
  | 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  | 	at $Proxy14.deliver(Unknown Source)
  | 	at cmr.messaging.clientsample.ClientSample.main(ClientSample.java:23)
  | Caused by: org.jboss.ws.WSException: Cannot obtain operation meta data for: {http://docs.oasis-open.org/ws-rx/wsrm/200702}CreateSequence
  | 	at org.jboss.ws.core.CommonClient.getOperationMetaData(CommonClient.java:201)
  | 	at org.jboss.ws.core.CommonClient.getOperationMetaData(CommonClient.java:182)
  | 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:295)
  | 	at org.jboss.ws.core.jaxws.client.ClientImpl.createSequence(ClientImpl.java:559)
  | 	... 4 more

Any pointers as to what is going wrong? I use the following configuration for the client:

<?xml version="1.0" encoding="UTF-8"?>
  | <jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
  | 	xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
  | 
  | 	<client-config>
  | 		<config-name>Standard Anonymous WSRM Client</config-name>
  | 		<reliable-messaging>
  | 			<message-retransmission attempts="50"
  | 				interval="10" timeout="10" />
  | 		</reliable-messaging>
  | 
  | 		<post-handler-chains>
  | 			<javaee:handler-chain>
  | 				<javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
  | 				<javaee:handler>
  | 					<javaee:handler-name>WSAddressing Handler</javaee:handler-name>
  | 					<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
  | 				</javaee:handler>
  | 
  | 				<javaee:handler>
  | 					<javaee:handler-name>WSRM Handler</javaee:handler-name>
  | 					<javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMClientHandler</javaee:handler-class>
  | 				</javaee:handler>
  | 			</javaee:handler-chain>
  | 		</post-handler-chains>
  | 	</client-config>
  | </jaxws-config>

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

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



More information about the jboss-user mailing list