soap - Exception while Testing SOA Composite Application -
i working on oracle soa suite 11g, beginner , following labs, in developing soa composite applications in jdeveloper 11g ide. while testing composite application using enterprise manager of weblogic server, got following exception:
the selected operation execute not invoked.
an exception occured while invoking webservice operation. please see logs more details.
oracle.sysman.emsdk.webservices.wsdlapi.soaptestexception: javax.xml.soap.soapexception: oracle.j2ee.ws.saaj.contenttypeexception: not valid soap content-type: text/html; charset=utf-8<br> java.lang.exception: oracle.sysman.emsdk.webservices.wsdlapi.soaptestexception: javax.xml.soap.soapexception: oracle.j2ee.ws.saaj.contenttypeexception: not valid soap content-type: text/html; charset=utf-8 @ oracle.sysman.emas.model.wsmgt.wstestmodel.invokeoperation(wstestmodel.java:813) @ oracle.sysman.emas.view.wsmgt.wsview.invokeoperation(wsview.java:385) @ oracle.sysman.emas.view.wsmgt.wsview.invokeoperation(wsview.java:302) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.sun.el.parser.astvalue.invoke(astvalue.java:187) @ com.sun.el.methodexpressionimpl.invoke(methodexpressionimpl.java:297) @ org.apache.myfaces.trinidadinternal.taglib.util.methodexpressionmethodbinding.invoke(methodexpressionmethodbinding.java:53) @ org.apache.myfaces.trinidad.component.uixcomponentbase.broadcasttomethodbinding(uixcomponentbase.java:1415) @ org.apache.myfaces.trinidad.component.uixcommand.broadcast(uixcommand.java:183) @ oracle.adf.view.rich.component.fragment.contextswitchingcomponent$1.run(contextswitchingcomponent.java:92) @ oracle.adf.view.rich.component.fragment.contextswitchingcomponent._processphase(contextswitchingcomponent.java:361) @ oracle.adf.view.rich.component.fragment.contextswitchingcomponent.broadcast(contextswitchingcomponent.java:96) @ oracle.adf.view.rich.component.fragment.uixinclude.broadcast(uixinclude.java:103) @ oracle.adf.view.rich.component.fragment.contextswitchingcomponent$1.run(contextswitchingcomponent.java:92) @ oracle.adf.view.rich.component.fragment.contextswitchingcomponent._processphase(contextswitchingcomponent.java:361) @ oracle.adf.view.rich.component.fragment.contextswitchingcomponent.broadcast(contextswitchingcomponent.java:96) @ oracle.adf.view.rich.component.fragment.uixinclude.broadcast(uixinclude.java:97) @ javax.faces.component.uiviewroot.broadcastevents(uiviewroot.java:475) @ javax.faces.component.uiviewroot.processapplication(uiviewroot.java:756) @ oracle.adfinternal.view.faces.lifecycle.lifecycleimpl._invokeapplication(lifecycleimpl.java:957) @ oracle.adfinternal.view.faces.lifecycle.lifecycleimpl._executephase(lifecycleimpl.java:427) @ oracle.adfinternal.view.faces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:207) @ javax.faces.webapp.facesservlet.service(facesservlet.java:265) @ weblogic.servlet.internal.stubsecurityhelper$servletserviceaction.run(stubsecurityhelper.java:227) @ weblogic.servlet.internal.stubsecurityhelper.invokeservlet(stubsecurityhelper.java:125) @ weblogic.servlet.internal.servletstubimpl.execute(servletstubimpl.java:301) @ weblogic.servlet.internal.tailfilter.dofilter(tailfilter.java:26) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.emsdk.license.licensefilter.dofilter(licensefilter.java:101) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.adf.model.servlet.adfbindingfilter.dofilter(adfbindingfilter.java:205) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.adfinternal.view.faces.webapp.rich.registrationfilter.dofilter(registrationfilter.java:128) @ org.apache.myfaces.trinidadinternal.webapp.trinidadfilterimpl$filterlistchain.dofilter(trinidadfilterimpl.java:446) @ oracle.adfinternal.view.faces.activedata.adsfilter.dofilter(adsfilter.java:60) @ org.apache.myfaces.trinidadinternal.webapp.trinidadfilterimpl$filterlistchain.dofilter(trinidadfilterimpl.java:446) @ org.apache.myfaces.trinidadinternal.webapp.trinidadfilterimpl._dofilterimpl(trinidadfilterimpl.java:271) @ org.apache.myfaces.trinidadinternal.webapp.trinidadfilterimpl.dofilter(trinidadfilterimpl.java:177) @ org.apache.myfaces.trinidad.webapp.trinidadfilter.dofilter(trinidadfilter.java:92) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.help.web.rich.ohwfilter.dofilter(unknown source) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.emas.fwk.masconnectionfilter.dofilter(masconnectionfilter.java:41) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.adf.library.webapp.libraryfilter.dofilter(libraryfilter.java:180) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.eml.app.auditservletfilter.dofilter(auditservletfilter.java:179) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.eml.app.emreploginfilter.dofilter(emreploginfilter.java:203) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.core.model.targetauth.emlangpreffilter.dofilter(emlangpreffilter.java:158) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.core.app.perf.perffilter.dofilter(perffilter.java:141) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.sysman.eml.app.contextinitfilter.dofilter(contextinitfilter.java:542) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.security.jps.ee.http.jpsabsfilter$1.run(jpsabsfilter.java:119) @ java.security.accesscontroller.doprivileged(native method) @ oracle.security.jps.util.jpssubject.doasprivileged(jpssubject.java:324) @ oracle.security.jps.ee.util.jpsplatformutil.runjaasmode(jpsplatformutil.java:460) @ oracle.security.jps.ee.http.jpsabsfilter.runjaasmode(jpsabsfilter.java:103) @ oracle.security.jps.ee.http.jpsabsfilter.dofilter(jpsabsfilter.java:171) @ oracle.security.jps.ee.http.jpsfilter.dofilter(jpsfilter.java:71) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ oracle.dms.servlet.dmsservletfilter.dofilter(dmsservletfilter.java:163) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ weblogic.servlet.internal.requesteventsfilter.dofilter(requesteventsfilter.java:27) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:60) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.wraprun(webappservletcontext.java:3738) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.run(webappservletcontext.java:3704) @ weblogic.security.acl.internal.authenticatedsubject.doas(authenticatedsubject.java:321) @ weblogic.security.service.securitymanager.runas(securitymanager.java:120) @ weblogic.servlet.internal.webappservletcontext.securedexecute(webappservletcontext.java:2281) @ weblogic.servlet.internal.webappservletcontext.execute(webappservletcontext.java:2180) @ weblogic.servlet.internal.servletrequestimpl.run(servletrequestimpl.java:1491) @ weblogic.work.executethread.execute(executethread.java:256) @ weblogic.work.executethread.run(executethread.java:221) caused by: oracle.sysman.emsdk.webservices.wsdlapi.soaptestexception: javax.xml.soap.soapexception: oracle.j2ee.ws.saaj.contenttypeexception: not valid soap content-type: text/html; charset=utf-8 @ oracle.sysman.emsdk.webservices.wsdlapi.dispatch.dispatchutil.invoke(dispatchutil.java:362) @ oracle.sysman.emsdk.webservices.wsdlparser.operationinfoimpl.invokewithdispatch(operationinfoimpl.java:1004) @ oracle.sysman.emas.model.wsmgt.portname.invokeoperation(portname.java:750) @ oracle.sysman.emas.model.wsmgt.wstestmodel.invokeoperation(wstestmodel.java:807) ... 79 more caused by: javax.xml.ws.webserviceexception: javax.xml.soap.soapexception: oracle.j2ee.ws.saaj.contenttypeexception: not valid soap content-type: text/html; charset=utf-8 @ oracle.j2ee.ws.client.jaxws.dispatchimpl.invoke(dispatchimpl.java:880) @ oracle.j2ee.ws.client.jaxws.oracledispatchimpl.synchronousinvocationwithretry(oracledispatchimpl.java:235) @ oracle.j2ee.ws.client.jaxws.oracledispatchimpl.invoke(oracledispatchimpl.java:106) @ oracle.sysman.emsdk.webservices.wsdlapi.dispatch.dispatchutil.invoke(dispatchutil.java:358) ... 82 more caused by: javax.xml.soap.soapexception: oracle.j2ee.ws.saaj.contenttypeexception: not valid soap content-type: text/html; charset=utf-8 @ oracle.j2ee.ws.saaj.client.p2p.httpsoapconnection.call2(httpsoapconnection.java:231) @ oracle.j2ee.ws.common.transport.httptransport.transmit(httptransport.java:75) @ oracle.j2ee.ws.common.async.messagesender.call(messagesender.java:67) @ oracle.j2ee.ws.common.async.transmitter.transmitsync(transmitter.java:134) @ oracle.j2ee.ws.common.async.transmitter.transmit(transmitter.java:90) @ oracle.j2ee.ws.common.async.requestorimpl.transmit(requestorimpl.java:273) @ oracle.j2ee.ws.common.async.requestorimpl.invoke(requestorimpl.java:94) @ oracle.j2ee.ws.client.jaxws.dispatchimpl.invoke(dispatchimpl.java:824) ... 85 more caused by: oracle.j2ee.ws.saaj.contenttypeexception: not valid soap content-type: text/html; charset=utf-8 @ oracle.j2ee.ws.saaj.soap.messagefactoryimpl.createversionedmessage(messagefactoryimpl.java:281) @ oracle.j2ee.ws.saaj.soap.messagefactoryimpl.createmessage(messagefactoryimpl.java:173) @ oracle.j2ee.ws.saaj.client.p2p.httpsoapconnection.gethttpresponsemessage(httpsoapconnection.java:766) @ oracle.j2ee.ws.saaj.client.p2p.httpsoapconnection.post2(httpsoapconnection.java:534) @ oracle.j2ee.ws.saaj.client.p2p.httpsoapconnection$privilegedpost.run(httpsoapconnection.java:1287) @ java.security.accesscontroller.doprivileged(native method) @ oracle.j2ee.ws.saaj.client.p2p.httpsoapconnection.call2(httpsoapconnection.java:229) ... 92 more
i stuck, can provide clue?
try use soapui pr tcpmonitor analyze communication between client , soa server. tell if sending text/html
or text/xml
.
also, should check wsdl on soa server corresponds servis testing, try accessing http://server:port/service?wsdl
see being deployed. can see test console.
and then, verify definition of input interface of composite in bpel editor (jdeveloper), see if constraints input format. webservice-call interface, right?