I'm using cxf version 2.0 with weblogic 10

when I deploy my project it seems fine and I can get the WSDL using a
browser
when I send the soap message I get the exception:

Jul 26, 2007 12:16:09 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
        at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:85)
        at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:82)
        at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:56)
        at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
        at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
        at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:87)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:206)
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:67)
        at
org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:100)
        at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:224)
        at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:103)
        at
org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:261)
        at
org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:239)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
        at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)
        at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
        at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
        at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: java.lang.UnsupportedOperationException
        at
com.synoran.sde.se.SDEServiceImpl.executeDocument(SDEServiceImpl.java:14)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:69)


I made sure the object used as a parameter has:
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "payload"
})
@XmlRootElement(name = "DocRequest")
public class DocRequest

my implementor:

@WebService(serviceName = "SDEService", targetNamespace =
"http://www.synoran.com/sde/se";, endpointInterface =
"com.synoran.sde.se.SDE")
public class SDEServiceImpl
    implements SDE
{

        Logger  log = Logger.getLogger(SDEServiceImpl.class);
        
    public DocResponse executeDocument(com.synoran.sde.se.types.DocRequest
DocRequest) {
        log.info("I'm in the function\n\n\n\n\n");

my beans.xml :

<beans xmlns="http://www.springframework.org/schema/beans";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:jaxws="http://cxf.apache.org/jaxws";
  xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>

  <import resource="classpath:META-INF/cxf/cxf.xml" />
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
  <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

  <jaxws:endpoint id="SDEService"
    implementor="com.synoran.sde.se.SDEServiceImpl"
    address="/SDEService">

    <jaxws:properties>
      <entry key="javax.xml.stream.XMLInputFactory"
value="com.ctc.wstx.stax.WstxInputFactory" />
      <entry key="javax.xml.stream.XMLOutputFactory"
value="com.ctc.wstx.stax.WstxOutputFactory" />
      <entry key="javax.xml.stream.XMLEventFactory"
value="com.ctc.wstx.stax.WstxEventFactory" />
    </jaxws:properties>
  </jaxws:endpoint>

</beans>

test message used:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:ns1="http://www.synoran.com/ebx/v4/types";>
<SOAP-ENV:Body>
<m:DocRequest xmlns:m="http://www.synoran.com/sde/se/types";>
<payload>       
<ns1:eBx xmlns:ns1="http://www.synoran.com/ebx/v4/types";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.synoran.com/sde/se/types
C:\sde-workspace\sde\sde_service_engine_wsdl\src\main\resources\sde_types.xsd">
        <ns1:eBxRq>
                <ns1:SignonRq>
                        <ns1:SignonRecCHT>
                                <ns1:SignonPswd>
                                        <ns1:SignonRole>String</ns1:SignonRole>
                                        <ns1:SignonCustId>
                                                <ns1:SPName>Synoran</ns1:SPName>
                                                <ns1:CustIdRecCHT>
                                                        <ns1:CustId>
                                                                
<ns1:SPName>Synoran</ns1:SPName>
                                                                
<ns1:CustPermId>122564</ns1:CustPermId>
                                                                
<ns1:SPNameDesc>SP Description</ns1:SPNameDesc>
                                                        </ns1:CustId>
                                                </ns1:CustIdRecCHT>
                                        </ns1:SignonCustId>
                                        <ns1:CustPswd>
                                                
<ns1:CryptType>String</ns1:CryptType>
                                                <ns1:CustPswdRecCHT>
                                                        
<ns1:Pswd>String</ns1:Pswd>
                                                </ns1:CustPswdRecCHT>
                                        </ns1:CustPswd>
                                        <ns1:GenSessKey>String</ns1:GenSessKey>
                                        
<ns1:CredentialType>String</ns1:CredentialType>
                                </ns1:SignonPswd>
                        </ns1:SignonRecCHT>
                        <ns1:ClientDt>2001-12-17T09:30:47.0Z</ns1:ClientDt>
                        <ns1:CustLangPref>English</ns1:CustLangPref>
                        <ns1:ClientApp>
                                <ns1:Org>Synoran</ns1:Org>
                                <ns1:Name>ebx</ns1:Name>
                                <ns1:Version>5.0</ns1:Version>
                        </ns1:ClientApp>
                        <ns1:EU.Cur>US Dollar</ns1:EU.Cur>
                        
<ns1:ClientSessKey>46445454d545f4g654d</ns1:ClientSessKey>
                </ns1:SignonRq>
                <ns1:PartyLocateRq>
                        <ns1:RqUID>ABCDEFG</ns1:RqUID>
                        <ns1:Phone>614-549-1545</ns1:Phone>
                        <ns1:PostAddr>
                                <ns1:SpecialInstr>none</ns1:SpecialInstr>
                                <ns1:Addr1>address1</ns1:Addr1>
                                <ns1:Addr2>address2</ns1:Addr2>
                                <ns1:City>Columbus</ns1:City>
                                <ns1:StateProv>OH</ns1:StateProv>
                                <ns1:PostalCode>43231</ns1:PostalCode>
                                <ns1:CountryCode>US</ns1:CountryCode>
                                <ns1:Country>United States</ns1:Country>
                        </ns1:PostAddr>
                        <ns1:PersonName>
                                <ns1:LastName>MILTONINSKI</ns1:LastName>
                                <ns1:FirstName>JENNIFER</ns1:FirstName>
                                <ns1:MiddleName/>
                                <ns1:FullName>JENNIFER 
MILTONINSKI</ns1:FullName>
                        </ns1:PersonName>
                </ns1:PartyLocateRq>
        </ns1:eBxRq>
</ns1:eBx>
</payload>
</m:DocRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

any help would be appreciated

Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Interceptor-has-thrown-exception%2C-unwinding-now---Caused-by%3A-java.lang.UnsupportedOperationException-tf4153499.html#a11816942
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to