cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: The metadata specified on the request message is not supported by the endpoint..
Date Thu, 07 Feb 2013 17:04:18 GMT

Are you sure it's CXF on the server side?     I just did a grep for that error ("The metadata
specified") through out the CXF code and did not see anything.  

Slightly concerned by "http://www.w3.org/2010/08/ws-mex/GetMetadata/Request".   I know CXF's
WS-MEX implementation only uses the 2004/09 namespace.   Not sure if other implementations
implement the 2010/08 version or not.     Patches to update the CXF MEX implementation would
certainly be welcome.  :-)   Honestly, if you are doing MEX, that would be great.   No sense
re-inventing things when CXF has stuff that may be a good starting point.  :-)

Dan


On Feb 7, 2013, at 2:53 AM, "Malisetti, Ramanjaneyulu" <Ramanjaneyulu.Malisetti@ca.com>
wrote:

> Hi,
>          We are getting below exception when trying to invoke web service with code like
... What could be the problem?
> 
>        Dispatch<DOMSource> resourceMex = null;
>            resourceMex = service.createDispatch(WSProxyUtil.PORT_NAME_MEX, DOMSource.class,
Service.Mode.PAYLOAD,
>                    new AddressingFeature());
> 
>        resourceMex.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY, http://www.w3.org/2010/08/ws-mex/GetMetadata/Request);
>        resourceMex.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.valueOf(true));
>        resourceMex.getRequestContext().put(Dispatch.ENDPOINT_ADDRESS_PROPERTY, moduleURI);
> 
> 
> The metadata specified on the request message is not supported by the endpoint..
> javax.xml.ws.soap.SOAPFaultException: The metadata specified on the request message is
not supported by the endpoint.
>                at org.apache.cxf.jaxws.DispatchImpl.mapException(DispatchImpl.java:285)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:388)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:241)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at com.ca.ucf.remote.ws.client.WSModuleProxy.getMetadata(WSModuleProxy.java:645)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[:1.6.0_25]
>                at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)[:1.6.0_25]
>                at java.util.concurrent.FutureTask.runAndReset(Unknown Source)[:1.6.0_25]
>                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown
Source)[:1.6.0_25]
>                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown
Source)[:1.6.0_25]
>                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)[:1.6.0_25]
>                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[:1.6.0_25]
>                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.6.0_25]
>                at java.lang.Thread.run(Unknown Source)[:1.6.0_25]
> Caused by: org.apache.cxf.binding.soap.SoapFault: The metadata specified on the request
message is not supported by the endpoint.
>                at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)
>                at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)
>                at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)
>                at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
>                at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:799)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1494)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1402)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:649)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:354)[80:com.ca.ucf.core.bind:3.3.0.50]
>                at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:381)[80:com.ca.ucf.core.bind:3.3.0.50]
> 
> Regards
> Raman

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message