高手指教:weblogic7.0上开发webservice的问题,多谢!

我在用weblogic7.0开发webservice应用时,遇到了几个问题,具体情况是:
1)我在webservice的方法中返回值为ArrayList,且ArrayList中若包含一些自定义类型,如javabean时,部署完成后,从确省的访问页执行此方法,出现下列错误信息:
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure. type=['http://www.w3.org/2001/XMLSchema']:anyType schema context=TypedSchemaContext{javaType=javax.xml.soap.SOAPElement}
注:但是若单独返回这个javabean没有问题
2)另外,如果返回的数据对象中包含中文数据的话,也会出现错误,具体信息如下:javax.xml.rpc.soap.SOAPFaultException: Error reading the response from: http://192.0.2.211:7001/basic_javaclass/HelloWorld. Please ensure that this is a valid SOAP response. The message was: l?q èq:œÔ

Hi Supine:
I had the same problem with blue_sky. I followed your instructions and that error msg disappeared. But I got another error message:
SERVICE FAULT:
Code:com.bea.xml.marshal.XmlEncodingException
String:Encountered an xml tag without a recognized type: the type must be declared with an xsi:type attribute.
Here is the service implementation and the wsdl file:
* @common:operation
* @jws:return-xml include-java-types="PersonName"
public ArrayList getNameList()
ArrayList names = new ArrayList();
PersonName name1 = new PersonName("Tom", "Bell");
names.add(name1);
PersonName name2 = new PersonName("John", "Smith");
names.add(name2);
return names;
<?xml version="1.0" encoding="utf-8"?>
<!-- @editor-info:link autogen="true" source="helloService.jws" -->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:ope="http://www.openuri.org/">
<s:element name="getPersonName">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="getPersonNameResponse">
<s:complexType>
<s:sequence>
<s:element name="getPersonNameResult" type="ope:PersonName" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="PersonName" nillable="true" type="ope:PersonName"/>
<s:element name="getStringList">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="getStringListResponse">
<s:complexType>
<s:sequence>
<s:element name="getStringListResult" type="ope:List" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="List" nillable="true" type="ope:List"/>
<s:element name="getNameList">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="getNameListResponse">
<s:complexType>
<s:sequence>
<s:element name="getNameListResult" type="ope:List" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="PersonName">
<s:sequence>
<s:element name="firstName" type="s:string" minOccurs="0"/>
<s:element name="lastName" type="s:string" minOccurs="0"/>
</s:sequence>
</s:complexType>
<s:complexType name="List">
<s:sequence>
<s:element name="item" type="s:anyType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</s:sequence>
</s:complexType>
</s:schema>
</types>
<message name="getPersonNameSoapIn">
<part name="parameters" element="s0:getPersonName"/>
</message>
<message name="getPersonNameSoapOut">
<part name="parameters" element="s0:getPersonNameResponse"/>
</message>
<message name="getStringListSoapIn">
<part name="parameters" element="s0:getStringList"/>
</message>
<message name="getStringListSoapOut">
<part name="parameters" element="s0:getStringListResponse"/>
</message>
<message name="getNameListSoapIn">
<part name="parameters" element="s0:getNameList"/>
</message>
<message name="getNameListSoapOut">
<part name="parameters" element="s0:getNameListResponse"/>
</message>
<message name="getPersonNameHttpGetIn"/>
<message name="getPersonNameHttpGetOut">
<part name="Body" element="s0:PersonName"/>
</message>
<message name="getStringListHttpGetIn"/>
<message name="getStringListHttpGetOut">
<part name="Body" element="s0:List"/>
</message>
<message name="getNameListHttpGetIn"/>
<message name="getNameListHttpGetOut">
<part name="Body" element="s0:List"/>
</message>
<message name="getPersonNameHttpPostIn"/>
<message name="getPersonNameHttpPostOut">
<part name="Body" element="s0:PersonName"/>
</message>
<message name="getStringListHttpPostIn"/>
<message name="getStringListHttpPostOut">
<part name="Body" element="s0:List"/>
</message>
<message name="getNameListHttpPostIn"/>
<message name="getNameListHttpPostOut">
<part name="Body" element="s0:List"/>
</message>
<portType name="helloServiceSoap">
<operation name="getPersonName">
<input message="s0:getPersonNameSoapIn"/>
<output message="s0:getPersonNameSoapOut"/>
</operation>
<operation name="getStringList">
<input message="s0:getStringListSoapIn"/>
<output message="s0:getStringListSoapOut"/>
</operation>
<operation name="getNameList">
<input message="s0:getNameListSoapIn"/>
<output message="s0:getNameListSoapOut"/>
</operation>
</portType>
<portType name="helloServiceHttpGet">
<operation name="getPersonName">
<input message="s0:getPersonNameHttpGetIn"/>
<output message="s0:getPersonNameHttpGetOut"/>
</operation>
<operation name="getStringList">
<input message="s0:getStringListHttpGetIn"/>
<output message="s0:getStringListHttpGetOut"/>
</operation>
<operation name="getNameList">
<input message="s0:getNameListHttpGetIn"/>
<output message="s0:getNameListHttpGetOut"/>
</operation>
</portType>
<portType name="helloServiceHttpPost">
<operation name="getPersonName">
<input message="s0:getPersonNameHttpPostIn"/>
<output message="s0:getPersonNameHttpPostOut"/>
</operation>
<operation name="getStringList">
<input message="s0:getStringListHttpPostIn"/>
<output message="s0:getStringListHttpPostOut"/>
</operation>
<operation name="getNameList">
<input message="s0:getNameListHttpPostIn"/>
<output message="s0:getNameListHttpPostOut"/>
</operation>
</portType>
<binding name="helloServiceSoap" type="s0:helloServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="getPersonName">
<soap:operation soapAction="http://www.openuri.org/getPersonName" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getStringList">
<soap:operation soapAction="http://www.openuri.org/getStringList" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getNameList">
<soap:operation soapAction="http://www.openuri.org/getNameList" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="helloServiceHttpGet" type="s0:helloServiceHttpGet">
<http:binding verb="GET"/>
<operation name="getPersonName">
<http:operation location="/getPersonName"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
<operation name="getStringList">
<http:operation location="/getStringList"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
<operation name="getNameList">
<http:operation location="/getNameList"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
</binding>
<binding name="helloServiceHttpPost" type="s0:helloServiceHttpPost">
<http:binding verb="POST"/>
<operation name="getPersonName">
<http:operation location="/getPersonName"/>
<input>
<mime:content type="application/x-www-form-urlencoded"/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
<operation name="getStringList">
<http:operation location="/getStringList"/>
<input>
<mime:content type="application/x-www-form-urlencoded"/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
<operation name="getNameList">
<http:operation location="/getNameList"/>
<input>
<mime:content type="application/x-www-form-urlencoded"/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
</binding>
<service name="helloService">
<port name="helloServiceSoap" binding="s0:helloServiceSoap">
<soap:address location="http://localhost:7001/RiskProfileEngineWeb/helloService.jws"/>
</port>
<port name="helloServiceHttpGet" binding="s0:helloServiceHttpGet">
<http:address location="http://localhost:7001/RiskProfileEngineWeb/helloService.jws"/>
</port>
<port name="helloServiceHttpPost" binding="s0:helloServiceHttpPost">
<http:address location="http://localhost:7001/RiskProfileEngineWeb/helloService.jws"/>
</port>
</service>
</definitions>
I can return a single object of PersonName and I can also return a list of Strings. I am stuck here. Any help is greatly appreciated.
solidrock

Similar Messages

  • Which protocol does weblogic7 webservice use?

    hello
    i know that the java webservice development use either axis or soap protocol,but
    i don't know which protocol does the weblogic7 webservice use?
    thank you

    We have our own implementation of soap.
    WebLogic Web services use Simple Object Access Protocol (SOAP) 1.1 and 1.2
    as the message format and HTTP as the connection protocol. See SOAP 1.1 with
    Attachments.
    Note: WebLogic Web services accept both SOAP 1.1 and 1.2 incoming
    requests, but produce only SOAP 1.1 outgoing responses.
    http://e-docs.bea.com/wls/docs70/webserv/overview.html
    Google.........
    http://google.bea.com/search?q=soap+version&ie=&site=bea&output=xml_no_dtd&c
    lient=bea&lr=&proxystylesheet=http%3A%2F%2Fdev2dev.bea.com%2Fimages%2Fdev2de
    v.xsl&oe=
    cheers
    mbg
    "zhebincong" <[email protected]> wrote in message
    news:3e7d2ed3$[email protected]..
    >
    hello
    i know that the java webservice development use either axis or soapprotocol,but
    i don't know which protocol does the weblogic7 webservice use?
    thank you

  • Is able to run two webservices in Weblogic 7.0 trial version ?

    Hi all:
    I caught a webservice problem in weblogic7.0 (trial version).
    I have built an Session Bean example (examples\webservices\complex\statelessSession)
    in Weblogic 7.0 Examples Service, it works as expected.
    However, when I create another session bean following the above example with different
    Service Name and JNDI Name, the new session bean cannot work as expected(No WSDL
    URL is found).
    Is able to run two webservices in Weblogic 7.0 trial version?
    How can I run two and more webservices in Weblogic 7.0 trial version?
    If anyone know how to solve it, please reply me as soon as possible.

    Hi Kelvin,
    Could you check your server log file for any errors. If there are errors, would you post them here. It sounds like the second webservice is simply not being
    deployed for some reason.
    In the application.xml, make sure you have given each webservice a different <context-root>
    As a suggestion, make the <display-name> and the <context-root> the same, for example using: "TreeClock" then you should be able to find the webservice:
    http://<host>:<port>/TreeClock/TreeClock
    Bruce
    Kelvin wrote:
    Bruce:
    Thanks your help !!! Sorry to confuse you as we are actually using the GA version
    (download form BWA for evaluation).
    The problem is like this, when we developed two web service and deploy both.
    Only one of them can show up by quene the ?wsdl.
    Any additional info that we can provide ???
    Many thanks !!!
    Regards
    Kelvin
    Bruce Stephens <[email protected]> wrote:
    Hi Kelvin,
    By "trial version" if you mean the WLS 7.0 Beta program, thanks for giving
    this a spin
    however the final version of WLS 7.0 was Generally Available as of 4/30/02
    and the Beta
    program closed.
    We have an example that illustrates how to build a client that invokes two
    webservices.
    You can get a copy from the dev2dev center:
    http://dev2dev.bea.com/managed_content/direct/webservice/simple2.zip
    Hope this helps,
    Bruce
    Kelvin wrote:
    Hi all:
    I caught a webservice problem in weblogic7.0 (trial version).
    I have built an Session Bean example (examples\webservices\complex\statelessSession)
    in Weblogic 7.0 Examples Service, it works as expected.
    However, when I create another session bean following the above examplewith different
    Service Name and JNDI Name, the new session bean cannot work as expected(NoWSDL
    URL is found).
    Is able to run two webservices in Weblogic 7.0 trial version?
    How can I run two and more webservices in Weblogic 7.0 trial version?
    If anyone know how to solve it, please reply me as soon as possible.<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    Hi Kelvin,
    <p>By "trial version" if you mean the WLS 7.0 Beta program, thanks for
    giving this a spin however the final version of WLS 7.0 was Generally Available
    as of 4/30/02 and the Beta program closed.
    <p>We have an example that illustrates how to build a client that invokes
    two webservices. You can get a copy from the dev2dev
    center:
    <p>http://dev2dev.bea.com/managed_content/direct/webservice/simple2.zip
    <br>
    <p>Hope this helps,
    <br>Bruce
    <br>
    <p>Kelvin wrote:
    <blockquote TYPE=CITE>Hi all:
    <p>I caught a webservice problem in weblogic7.0 (trial version).
    <p>I have built an Session Bean example (examples\webservices\complex\statelessSession)
    <br>in Weblogic 7.0 Examples Service, it works as expected.
    <br>However, when I create another session bean following the above example
    with different
    <br>Service Name and JNDI Name, the new session bean cannot work as expected(No
    WSDL
    <br>URL is found).
    <p>Is able to run two webservices in Weblogic 7.0 trial version?
    <br>How can I run two and more webservices in Weblogic 7.0 trial
    version?
    <p>If anyone know how to solve it, please reply me as soon as possible.</blockquote>
    </html>

  • Webservices client

    Hi,
    I have deployed webservice which is running on Weblogic server. For that I have to write a webservices client in VC++, for my java webservice the arguments are String and Complex type and return type is Complex type.
    Can any body tell me how to write webservice client in C++ or VC++ using VC++ compiler.
    Earliest response with sample code Appreciated.
    Thanks in advance,

    A web service client written on WLS [1], should work with
    service hosted by any vendor, including .Net, AXIS, Sun RI,
    etc.
    The client code you write in WLS which is based on JAX-RPC [1]
    should compile as is on other vendor JAX-RPC implementation.
    So, if you are looking for client code portability then JAX-RPC
    is your best bet.
    Regards,
    -manoj
    [1] http://edocs.bea.com/wls/docs81/webserv/client.html#1069703
    [2] http://java.sun.com/xml/jaxrpc/
    "hanks" <[email protected]> wrote in message
    news:3ea3392d$[email protected]..
    >
    I have tried webservices with apache and weblogic7.0 but i realised thatboth was
    to be done very specific to servers.I may be wrong. I am trying tounderstand
    how can i write a sercive for one server and access using another server.
    When i write webservice in java tomcat server, I create a service andregister
    as urn name. For a client to access this service, code kind of looks ejbcode
    where we lookup the service and call its method. Instead of looking upJNDI name
    we lookup urn and access method. Mind you this client uses ORG packagesspecific
    to tomcat.
    Now when we write a websercice with weblogic we have to create a ear whichhas
    webserverice and write a client to access that service, which lookscompletely
    diffrent from one that we wrote for tomcat. I am wondering how can i usethe same
    client to access both the services. It rarely happens that both side wouldbe
    using same servers.
    I am sure that there is some mistake i m doing cos webservices is supposeto be
    even language independent.
    Can you guys help me in resolving this, more questions later ;-)

  • Question about stateful webservice

    hello
    who can tell me how can i keep the session status in webservice,or where can i find such tutorial?
    thanks

    thanks i use jbuilder8+axis+weblogic7 to test the stateful webservice,my code as following: ________________________________________________________________________________________
    1 the javabean that is publish as webservice:
    package test;
    import org.apache.axis.MessageContext;
    import org.apache.axis.session.*;
    public class TestService {
    int count=0;
    public TestService() { }
    public int count(){
    Session session=MessageContext.getCurrentContext().getSession();
    Integer cnt;
    if((cnt=(Integer)session.get("count"))!=null){
    count=cnt.intValue();
    int c=++count; session.set("count",new Integer(c));
    return c;
    2 my "deploy.wsdd" file:
    <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:ns="http://test" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <service name="TestService" provider="java:RPC">
    <parameter name="className" value="test.TestService"/>
    <parameter name="allowedMethods" value="*"/>
    <parameter name="scope" value="Session"/>
    </service>
    </deployment> ________________________________________________________________________________________
    3 my test client:
    public class Client {
    public Client() { }
    public static void main(String[] args) {
    try {
    String endpoint ="http://localhost:7001/testservice/services/TestService";
    Service service = new Service();
    service.setMaintainSession(true);
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress(new java.net.URL(endpoint));
    call.setOperationName(new Name "http://localhost:7001/testservice/services/TestService", "count"));
    Integer ret1 = (Integer) call.invoke(new Object[] {});
    System.out.println("************************" + ret1 +"*********************************");
    Integer ret2 = (Integer) call.invoke(new Object[] {});
    System.out.println("************************" + ret1 +"*********************************");
    catch (Exception e) {
    System.err.println(e.toString());
    after i execute the "client.class",the output as:
    ************************1********************************* ************************1*********************************
    as you can see the status can't be keep,what i want is:
    ************************1********************************* ************************2*********************************
    help please,thanks again!

  • Webservices Client, Exceptions and Log4J

    Hi all.
    Let me explain the setup of our project before asking for a solution on my problem!
    We are implementing a project with 2 teams. One team handles everything that has to deal with the front-end and uses a wsdl to generate a webservices client side that is trigger for most of the requests.
    Another team creates the complete backend including the webservices server side.
    Thus, we (as team one) do not interfere nor guide team two in how they implement things.
    Now here's the problem.
    Our side uses Log4J to log all the exceptions. There side probably doesn't (we don't know). If however an exception is triggered from within a WebService call, it is not send to Log4J but to the standard System.out !
    Is there any way to change this? Because the only thing we do is generate a client from the WSDL and nothing else! We do however catch any exception and store a message in our log files, but before the catch happens, our System.out has already added the WSexcpetion :(
    Is this clear in any way?
    Anyone?
    Thanks in advance,
    Kind Regards,
    Les.

    A web service client written on WLS [1], should work with
    service hosted by any vendor, including .Net, AXIS, Sun RI,
    etc.
    The client code you write in WLS which is based on JAX-RPC [1]
    should compile as is on other vendor JAX-RPC implementation.
    So, if you are looking for client code portability then JAX-RPC
    is your best bet.
    Regards,
    -manoj
    [1] http://edocs.bea.com/wls/docs81/webserv/client.html#1069703
    [2] http://java.sun.com/xml/jaxrpc/
    "hanks" <[email protected]> wrote in message
    news:3ea3392d$[email protected]..
    >
    I have tried webservices with apache and weblogic7.0 but i realised thatboth was
    to be done very specific to servers.I may be wrong. I am trying tounderstand
    how can i write a sercive for one server and access using another server.
    When i write webservice in java tomcat server, I create a service andregister
    as urn name. For a client to access this service, code kind of looks ejbcode
    where we lookup the service and call its method. Instead of looking upJNDI name
    we lookup urn and access method. Mind you this client uses ORG packagesspecific
    to tomcat.
    Now when we write a websercice with weblogic we have to create a ear whichhas
    webserverice and write a client to access that service, which lookscompletely
    diffrent from one that we wrote for tomcat. I am wondering how can i usethe same
    client to access both the services. It rarely happens that both side wouldbe
    using same servers.
    I am sure that there is some mistake i m doing cos webservices is supposeto be
    even language independent.
    Can you guys help me in resolving this, more questions later ;-)

  • Error while consuming a webservice in nwds

    Dear Users,
      I m facing an error while consuming a wsdl webservice in webdynpro java error................
    Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[ModalContext,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor Services
       Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
       Method     : doImportWebServiceModel
       Message    : Web Service model import failed
       Exception  : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
    com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    -- caused by --
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many  times (20) -> java.net.ProtocolException: Server redirected too many  times (20)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 8 more
    Caused by: java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
         at java.net.URL.openStream(URL.java:913)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
         ... 10 more
    Please help me in solving his issue.
    regards,
    Sathya

    I have the same issue attempting to connect my application to this WSDL:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
    I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many  times (20)], see error log for details
    2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many  times (20)
    java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
         at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
         at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
         at java.lang.Thread.run(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.net.URL.openStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.lang.Thread.run(Unknown Source)
    Any ideas?
    Edited by: tburke on Oct 27, 2009 2:26 AM

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

  • Error while testing a webservice in http analyzer

    Hi ADF Experts,
    I am using 11.1.1.7.0 jdeveloper version.
    My questions are:- Can we create a webservice proxy from a webservice which contain multiple schemas? If yes how?
    While I separated the schemas into different filesystem and tried calling from wsdl. Also then I am getting the below error.
    "The following invalid value had caused a oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix ns1"
    "The operation cannot be proceed"
    Validating service
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Generating proxy
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Proxy generation finished
    Generation complete.
    However in SoapUI, the wsdl has no namespace error.
    Thanks for your valueable comments in advance,
    Regards,
    Sushant.

    The following is not an error, but a WARNING.
    Validating service
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Generating proxy
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Proxy generation finished
    Generation complete.

  • Error while running a eBS webservice from the SoapUI Tool

    Hello All,
    I am trying to run PurchaseOrder Service webservice from the soap ui tool, In this service there are 6 methods are available and i am currently running the QueryPurchaseOrder method:
    Following is the soap message I am running:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pox="http://xmlns.oracle.com/java/oracle/apps/po/services/poxpoepo/POXPOEPOServices_DocStyle/" xmlns:orac="http://oracle.apps.fnd.soa.forms.services.rt.formsSchema/">
    <soapenv:Header>
    <pox:SOAHeader>
    <!--Optional:-->
    <pox:Responsibility></pox:Responsibility>
    <!--Optional:-->
    <pox:RespApplication></pox:RespApplication>
    <!--Optional:-->
    <pox:SecurityGroup></pox:SecurityGroup>
    <!--Optional:-->
    <pox:NLSLanguage></pox:NLSLanguage>
    <!--Optional:-->
    <pox:Org_Id>204</pox:Org_Id>
    </pox:SOAHeader>
    </soapenv:Header>
    <soapenv:Body>
    <pox:queryPurchaseOrder_Request>
    <orac:OutsideProcessing>
    <!--Optional:-->
    <orac:Job></orac:Job>
    <!--Optional:-->
    <orac:Line></orac:Line>
    <!--Optional:-->
    <orac:OSPUnitType></orac:OSPUnitType>
    <!--Optional:-->
    <orac:OperationSequence></orac:OperationSequence>
    <!--Optional:-->
    <orac:ResourceSequence></orac:ResourceSequence>
    <!--Optional:-->
    <orac:ResourceCode></orac:ResourceCode>
    </orac:OutsideProcessing>
    <orac:PoHeaders>
    <!--Zero or more repetitions:-->
    <orac:PoLines>
    <orac:LineNum>1</orac:LineNum>
    <orac:LineType>Goods</orac:LineType>
    <!--Optional:-->
    <orac:Item></orac:Item>
    <!--Optional:-->
    <orac:ItemRevision></orac:ItemRevision>
    <!--Optional:-->
    <orac:Job></orac:Job>
    <orac:ItemCategory>MISC.MISC</orac:ItemCategory>
    <orac:ItemDescription>test</orac:ItemDescription>
    <orac:UnitOfMeasure>EA</orac:UnitOfMeasure>
    <!--Optional:-->
    <orac:LineOrderQuantity></orac:LineOrderQuantity>
    <!--Optional:-->
    <orac:Quantity></orac:Quantity>
    <!--Optional:-->
    <orac:LineUnitPrice></orac:LineUnitPrice>
    <!--Optional:-->
    <orac:PromisedDate></orac:PromisedDate>
    <!--Optional:-->
    <orac:NeedByDate></orac:NeedByDate>
    <!--Optional:-->
    <orac:VendorProductNum></orac:VendorProductNum>
    <!--Optional:-->
    <orac:Amount></orac:Amount>
    <!--Optional:-->
    <orac:ChargeAccount></orac:ChargeAccount>
    <!--Optional:-->
    <orac:Reserved></orac:Reserved>
    <!--Optional:-->
    <orac:OPMLineSecondaryUOM></orac:OPMLineSecondaryUOM>
    <!--Optional:-->
    <orac:OPMLineSecondaryQuantity></orac:OPMLineSecondaryQuantity>
    <!--Optional:-->
    <orac:SecondaryQuantity></orac:SecondaryQuantity>
    <!--Optional:-->
    <orac:PreferredLineGrade></orac:PreferredLineGrade>
    <!--Optional:-->
    <orac:ItemListPrice></orac:ItemListPrice>
    <!--Optional:-->
    <orac:ItemMarketPrice></orac:ItemMarketPrice>
    <!--Optional:-->
    <orac:PriceType></orac:PriceType>
    <!--Optional:-->
    <orac:AllowPriceOverride></orac:AllowPriceOverride>
    <!--Optional:-->
    <orac:PriceLimit></orac:PriceLimit>
    <!--Optional:-->
    <orac:Negotiated></orac:Negotiated>
    <!--Optional:-->
    <orac:ContractNum></orac:ContractNum>
    <!--Optional:-->
    <orac:GlobalContract></orac:GlobalContract>
    <!--Optional:-->
    <orac:ContractOwningOrg></orac:ContractOwningOrg>
    <!--Optional:-->
    <orac:SourceDocumentType></orac:SourceDocumentType>
    <!--Optional:-->
    <orac:FromDocumentNum></orac:FromDocumentNum>
    <!--Optional:-->
    <orac:FromDocumentLineNum></orac:FromDocumentLineNum>
    <!--Optional:-->
    <orac:GlobalBlanket></orac:GlobalBlanket>
    <!--Optional:-->
    <orac:SourceDocumentOwningOrg></orac:SourceDocumentOwningOrg>
    <!--Optional:-->
    <orac:SupplierQuotation></orac:SupplierQuotation>
    <!--Optional:-->
    <orac:ProjectsContractNum></orac:ProjectsContractNum>
    <!--Optional:-->
    <orac:ProjectsContractRevNum></orac:ProjectsContractRevNum>
    <!--Optional:-->
    <orac:NoteToSupplier></orac:NoteToSupplier>
    <!--Optional:-->
    <orac:UNNum></orac:UNNum>
    <!--Optional:-->
    <orac:UNNumDescription></orac:UNNumDescription>
    <!--Optional:-->
    <orac:HazardClass></orac:HazardClass>
    <!--Optional:-->
    <orac:CapitalExpense></orac:CapitalExpense>
    <!--Optional:-->
    <orac:TransactionNature></orac:TransactionNature>
    <!--Optional:-->
    <orac:ContractorFirstName></orac:ContractorFirstName>
    <!--Optional:-->
    <orac:ContractorLastName></orac:ContractorLastName>
    <!--Optional:-->
    <orac:ContractorStartDate></orac:ContractorStartDate>
    <!--Optional:-->
    <orac:ContractorEndDate></orac:ContractorEndDate>
    <!--Optional:-->
    <orac:MinimumLineReleaseAmount></orac:MinimumLineReleaseAmount>
    <!--Optional:-->
    <orac:LineQuantityAgreed></orac:LineQuantityAgreed>
    <!--Optional:-->
    <orac:LineAmountAgreed></orac:LineAmountAgreed>
    <!--Optional:-->
    <orac:LlineQuantityReleased></orac:LlineQuantityReleased>
    <!--Optional:-->
    <orac:LineAmountReleased></orac:LineAmountReleased>
    <!--Optional:-->
    <orac:LineExpirationDate></orac:LineExpirationDate>
    <!--Optional:-->
    <orac:CumulativePricing></orac:CumulativePricing>
    <!--Zero or more repetitions:-->
    <orac:PoShipments>
    <orac:ShipmentNum>1</orac:ShipmentNum>
    <orac:ShiptoOrganization>M1</orac:ShiptoOrganization>
    <orac:ShipToLocation>M1- Seattle Mfg</orac:ShipToLocation>
    <!--Optional:-->
    <orac:UnitOfMeasure></orac:UnitOfMeasure>
    <orac:ShipmentQuantity>1</orac:ShipmentQuantity>
    <!--Optional:-->
    <orac:PromisedDate></orac:PromisedDate>
    <!--Optional:-->
    <orac:NeedByDate></orac:NeedByDate>
    <!--Optional:-->
    <orac:OriginalPromisedDate></orac:OriginalPromisedDate>
    <!--Optional:-->
    <orac:CountryofOrigin></orac:CountryofOrigin>
    <!--Optional:-->
    <orac:ChargeAccount></orac:ChargeAccount>
    <!--Optional:-->
    <orac:ShipmentAmount></orac:ShipmentAmount>
    <!--Optional:-->
    <orac:EncumberedFlag></orac:EncumberedFlag>
    <!--Optional:-->
    <orac:OPMShipmentSecondaryUOM></orac:OPMShipmentSecondaryUOM>
    <!--Optional:-->
    <orac:OPMShipmentSecondaryQuantity></orac:OPMShipmentSecondaryQuantity>
    <!--Optional:-->
    <orac:PreferredShipmentGrade></orac:PreferredShipmentGrade>
    <!--Optional:-->
    <orac:ReceiptCloseTolerance></orac:ReceiptCloseTolerance>
    <!--Optional:-->
    <orac:InvoiceCloseTolerance></orac:InvoiceCloseTolerance>
    <orac:MatchApprovalLevel>3WAY</orac:MatchApprovalLevel>
    <orac:InvoiceMatchOption>P</orac:InvoiceMatchOption>
    <!--Optional:-->
    <orac:AccrueatReceipt></orac:AccrueatReceipt>
    <!--Optional:-->
    <orac:Firm></orac:Firm>
    <!--Optional:-->
    <orac:Item></orac:Item>
    <!--Optional:-->
    <orac:Category></orac:Category>
    <!--Optional:-->
    <orac:Description></orac:Description>
    <!--Optional:-->
    <orac:VendorProductNum></orac:VendorProductNum>
    <!--Optional:-->
    <orac:ShipmentStatus></orac:ShipmentStatus>
    <!--Optional:-->
    <orac:QuantityReceived></orac:QuantityReceived>
    <!--Optional:-->
    <orac:QuantityCancelled></orac:QuantityCancelled>
    <!--Optional:-->
    <orac:QuanittyBilled></orac:QuanittyBilled>
    <!--Optional:-->
    <orac:AmountReceived></orac:AmountReceived>
    <!--Optional:-->
    <orac:AmountCancelled></orac:AmountCancelled>
    <!--Optional:-->
    <orac:AmountBilled></orac:AmountBilled>
    <!--Optional:-->
    <orac:OPMSecondaryQuantityReceived></orac:OPMSecondaryQuantityReceived>
    <!--Optional:-->
    <orac:OPMSecondaryCancelled></orac:OPMSecondaryCancelled>
    <orac:BreakPrice></orac:BreakPrice>
    <!--Optional:-->
    <orac:PriceDiscount></orac:PriceDiscount>
    <!--Optional:-->
    <orac:PriceBreakStartDate></orac:PriceBreakStartDate>
    <!--Optional:-->
    <orac:PriceBreakEndDate></orac:PriceBreakEndDate>
    <!--Optional:-->
    <orac:EarlyReceiptDays></orac:EarlyReceiptDays>
    <!--Optional:-->
    <orac:LateReceiptDays></orac:LateReceiptDays>
    <!--Optional:-->
    <orac:ReceiptDaysAction></orac:ReceiptDaysAction>
    <!--Optional:-->
    <orac:LastAcceptDate></orac:LastAcceptDate>
    <!--Optional:-->
    <orac:ReceiptTolerance></orac:ReceiptTolerance>
    <!--Optional:-->
    <orac:ReceiptToleranceAction></orac:ReceiptToleranceAction>
    <!--Optional:-->
    <orac:AllowSubstituteReceipts></orac:AllowSubstituteReceipts>
    <!--Optional:-->
    <orac:ReceiptRouting></orac:ReceiptRouting>
    <!--Optional:-->
    <orac:EnforceShipTo></orac:EnforceShipTo>
    <!--Optional:-->
    <orac:NoteforReceiver></orac:NoteforReceiver>
    <!--Optional:-->
    <orac:VMIEnabled></orac:VMIEnabled>
    <!--Optional:-->
    <orac:ConsignedShipment></orac:ConsignedShipment>
    <!--Zero or more repetitions:-->
    <orac:PoDistributions>
    <orac:DistributionNum>1</orac:DistributionNum>
    <orac:DestinationType>Expense</orac:DestinationType>
    <!--Optional:-->
    <orac:Requester></orac:Requester>
    <!--Optional:-->
    <orac:DeliverToLocation></orac:DeliverToLocation>
    <!--Optional:-->
    <orac:DestinationSubinventory></orac:DestinationSubinventory>
    <orac:DistributionQuantity>?</orac:DistributionQuantity>
    <!--Optional:-->
    <orac:DistributionAmount></orac:DistributionAmount>
    <!--Optional:-->
    <orac:POChargeAccount></orac:POChargeAccount>
    <!--Optional:-->
    <orac:DestinationChargeAccount></orac:DestinationChargeAccount>
    <!--Optional:-->
    <orac:RecoveryRate></orac:RecoveryRate>
    <!--Optional:-->
    <orac:GLDate></orac:GLDate>
    <!--Optional:-->
    <orac:EncumberedFlag></orac:EncumberedFlag>
    <!--Optional:-->
    <orac:RequestingOrganization></orac:RequestingOrganization>
    <!--Optional:-->
    <orac:RequisitionNum></orac:RequisitionNum>
    <!--Optional:-->
    <orac:RequisitionLineNum></orac:RequisitionLineNum>
    <!--Optional:-->
    <orac:OnlineRequisition></orac:OnlineRequisition>
    <!--Optional:-->
    <orac:RateDate></orac:RateDate>
    <!--Optional:-->
    <orac:Rate></orac:Rate>
    <!--Optional:-->
    <orac:POAccrualAccount></orac:POAccrualAccount>
    <!--Optional:-->
    <orac:POBudgetAccount></orac:POBudgetAccount>
    <!--Optional:-->
    <orac:POVarianceAccount></orac:POVarianceAccount>
    <!--Optional:-->
    <orac:ChargeAccountDescription></orac:ChargeAccountDescription>
    <!--Optional:-->
    <orac:BudgetAccountDescription></orac:BudgetAccountDescription>
    <!--Optional:-->
    <orac:AccrualAccountDescription></orac:AccrualAccountDescription>
    <!--Optional:-->
    <orac:VarianceAccountDescription></orac:VarianceAccountDescription>
    <!--Optional:-->
    <orac:Project></orac:Project>
    <!--Optional:-->
    <orac:Task></orac:Task>
    <!--Optional:-->
    <orac:Award></orac:Award>
    <!--Optional:-->
    <orac:ExpenditureType></orac:ExpenditureType>
    <!--Optional:-->
    <orac:ExpenditureOrganization></orac:ExpenditureOrganization>
    <!--Optional:-->
    <orac:ExpenditureDate></orac:ExpenditureDate>
    <!--Optional:-->
    <orac:ProjectsContractLineNum></orac:ProjectsContractLineNum>
    <!--Optional:-->
    <orac:ProjectsDeliverableNum></orac:ProjectsDeliverableNum>
    <!--Optional:-->
    <orac:EndItemUnitNum></orac:EndItemUnitNum>
    <!--Optional:-->
    <orac:DestinationChargeAccountDescription></orac:DestinationChargeAccountDescription>
    <!--Optional:-->
    <orac:DestinationVarianceAccountDescription></orac:DestinationVarianceAccountDescription>
    <!--Optional:-->
    <orac:DestinationVarianceAccount></orac:DestinationVarianceAccount>
    </orac:PoDistributions>
    </orac:PoShipments>
    </orac:PoLines>
    <!--Zero or more repetitions:-->
    <orac:PoBpaDistributions>
    <!--Optional:-->
    <orac:Encumber></orac:Encumber>
    <!--Optional:-->
    <orac:BudgetAccount></orac:BudgetAccount>
    <!--Optional:-->
    <orac:GLDate></orac:GLDate>
    <!--Optional:-->
    <orac:AmountToEncumber></orac:AmountToEncumber>
    </orac:PoBpaDistributions>
    <orac:OperatingUnit>Vision Operations</orac:OperatingUnit>
    <orac:PONum>6194</orac:PONum>
    <!--Optional:-->
    <orac:RevisionNum></orac:RevisionNum>
    <orac:DocumentType>Standard Purchase Order</orac:DocumentType>
    <!--Optional:-->
    <orac:CreationDate></orac:CreationDate>
    <!--Optional:-->
    <orac:Supplier></orac:Supplier>
    <!--Optional:-->
    <orac:SupplierSite></orac:SupplierSite>
    <!--Optional:-->
    <orac:SupplierContact></orac:SupplierContact>
    <!--Optional:-->
    <orac:ShipToLocation></orac:ShipToLocation>
    <!--Optional:-->
    <orac:BillToLocation></orac:BillToLocation>
    <!--Optional:-->
    <orac:Currency></orac:Currency>
    <orac:Buyer>31994</orac:Buyer>
    <!--Optional:-->
    <orac:Status></orac:Status>
    <!--Optional:-->
    <orac:POTotal></orac:POTotal>
    <!--Optional:-->
    <orac:AmounttAgreed></orac:AmounttAgreed>
    <!--Optional:-->
    <orac:HeaderDescription></orac:HeaderDescription>
    <!--Optional:-->
    <orac:PCard></orac:PCard>
    <!--Optional:-->
    <orac:AmountReleased></orac:AmountReleased>
    <!--Optional:-->
    <orac:GlobalAgreementFlag></orac:GlobalAgreementFlag>
    <!--Optional:-->
    <orac:PaymentTerms></orac:PaymentTerms>
    <!--Optional:-->
    <orac:FreightTerms></orac:FreightTerms>
    <!--Optional:-->
    <orac:Carrier></orac:Carrier>
    <!--Optional:-->
    <orac:FreeOnBoard></orac:FreeOnBoard>
    <!--Optional:-->
    <orac:PayOn></orac:PayOn>
    <!--Optional:-->
    <orac:TransportationArranged></orac:TransportationArranged>
    <!--Optional:-->
    <orac:ConfirmingOrder></orac:ConfirmingOrder>
    <!--Optional:-->
    <orac:Firm></orac:Firm>
    <!--Optional:-->
    <orac:AcceptanceRequired></orac:AcceptanceRequired>
    <!--Optional:-->
    <orac:AcceptanceDueDate></orac:AcceptanceDueDate>
    <!--Optional:-->
    <orac:SupplyAgreement></orac:SupplyAgreement>
    <!--Optional:-->
    <orac:SupplierNote></orac:SupplierNote>
    <!--Optional:-->
    <orac:ReceiverNote></orac:ReceiverNote>
    <!--Optional:-->
    <orac:EffectiveStartDate></orac:EffectiveStartDate>
    <!--Optional:-->
    <orac:EffectiveEndDate></orac:EffectiveEndDate>
    <!--Optional:-->
    <orac:AmountLimit></orac:AmountLimit>
    <!--Optional:-->
    <orac:MinimumHeaderReleaseAmount></orac:MinimumHeaderReleaseAmount>
    <!--Optional:-->
    <orac:PriceUpdateTolerance></orac:PriceUpdateTolerance>
    <orac:PoHeaderId>91781</orac:PoHeaderId>
    </orac:PoHeaders>
    </pox:queryPurchaseOrder_Request>
    </soapenv:Body>
    </soapenv:Envelope>
    Now when i run this, I get the below error in the SOAP UI Tool:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <Error>[Ljava.lang.StackTraceElement;@118da51</Error>
    </env:Body>
    </env:Envelope>
    Can u please suggest any solution to resolve this error.
    Thanks & Regards,
    Aboothahir M

    Hello All,
    I checked in the log.xml file in the apps server and got the below error:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:24.110+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>security</MODULE_ID>
    <THREAD_ID>12</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885623:9.126.177.20:24571:0:38</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Error when intializing assertion issuer context </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.IllegalArgumentException: Invalid assertion
         at oracle.security.jazn.callback.SAMLTokenCallbackInternal.setAssertion(SAMLTokenCallbackInternal.java:70)
         at oracle.security.jazn.callback.WSSCallbackHandler.handle(WSSCallbackHandler.java:107)
         at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:955)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:951)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initializeAssertionIssuerContext(SAMLLoginModule.java:278)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initializeProperties(SAMLLoginModule.java:233)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initialize(SAMLLoginModule.java:91)
         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:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.wss.jaas.JAASAuthManager.invokeLogin(JAASAuthManager.java:109)
         at oracle.security.wss.jaas.JAASAuthManager.authenticate(JAASAuthManager.java:174)
         at oracle.security.wss.UsernameTokenProcessor.getSubject(UsernameTokenProcessor.java:143)
         at oracle.security.wss.WSSecurity.process(WSSecurity.java:1107)
         at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleInbound(AbstractSecurityInterceptor.java:131)
         at oracle.security.wss.interceptors.ServiceInterceptor.handleRequest(ServiceInterceptor.java:60)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.handleRequest(InterceptorChainImpl.java:124)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorPipeline.handleRequest(AbstractInterceptorPipeline.java:87)
         at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:452)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:750)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:112)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:25.524+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04005</MSG_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>14</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885621:9.126.177.20:24505:0:46</UNIQUE_ID><SEQ>6</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: The security token could not be authenticated or authorized.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:25.527+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04005</MSG_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>12</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885623:9.126.177.20:24571:0:38</UNIQUE_ID><SEQ>6</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: The security token could not be authenticated or authorized.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:56:08.311+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04052</MSG_ID>
    <MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>13</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885960:9.126.177.20:23538:0:57</UNIQUE_ID><SEQ>242</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    By
    Aboo

  • Error while calling webservice on ECC 5.0

    Hi
    I have a webservice exposed on a ECC5.0 - the webservice is available for runtime.
    But when I call it with a single input parameter - from a test SOAP test client- I get the following error as the SOAP response
    What could this be/mean ? Please help.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <soap-env:Fault>
    <faultcode>soap-env:Server</faultcode>
    <faultstring xml:lang="en">Error during XML => ABAP conversion (; error ID: ; ( ))</faultstring>
    </soap-env:Fault>
    </soap-env:Body>
    </soap-env:Envelope>

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • Getting following error while deploying my webservice on weblogic 10.3

    hi
    I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
    applicationContext.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xsi:schemaLocation="
    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
    http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
    http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
    <!-- Scan for both Jersey Rest Annotations a -->
    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
    <context:component-scan base-package="com.persistent.rest"/>
    <context:annotation-config />
    <jaxws:endpoint
    id="accountProcess"
    implementor="com.persistent.rest.GetAccountListImpl"
    address="/"
    bindingUri="http://apache.org/cxf/binding/http" >
    <jaxws:serviceFactory>
    <bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
    <property name="wrapped" value="false" />
    </bean>
    </jaxws:serviceFactory>
    </jaxws:endpoint>
    <bean>...........</bean>
    </beans>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>springCXFWeb</display-name>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>WEB-INF/applicationContext.xml</param-value>
    </context-param>
    <listener>
    <listener-class>
    org.springframework.web.context.ContextLoaderListener
    </listener-class>
    </listener>
    <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>
    org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    </web-app>
    Getting following error while deploying my webservice on weblogic 10.3
    <Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    thanks

    hi
    I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
    applicationContext.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xsi:schemaLocation="
    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
    http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
    http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
    <!-- Scan for both Jersey Rest Annotations a -->
    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
    <context:component-scan base-package="com.persistent.rest"/>
    <context:annotation-config />
    <jaxws:endpoint
    id="accountProcess"
    implementor="com.persistent.rest.GetAccountListImpl"
    address="/"
    bindingUri="http://apache.org/cxf/binding/http" >
    <jaxws:serviceFactory>
    <bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
    <property name="wrapped" value="false" />
    </bean>
    </jaxws:serviceFactory>
    </jaxws:endpoint>
    <bean>...........</bean>
    </beans>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>springCXFWeb</display-name>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>WEB-INF/applicationContext.xml</param-value>
    </context-param>
    <listener>
    <listener-class>
    org.springframework.web.context.ContextLoaderListener
    </listener-class>
    </listener>
    <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>
    org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    </web-app>
    Getting following error while deploying my webservice on weblogic 10.3
    <Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    <Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
    <Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    java.lang.InternalError: erroneous handlers
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    Truncated. see log file for complete stacktrace
    thanks

  • Error while calling a webservice on ECC 5.0 box

    Hi
       I have a webservice exposed on a ECC5.0 - the webservice is available for runtime.
    But when I call it with a single input parameter - from a test SOAP test - I get the following error as the SOAP response
    What could this be/mean ? Please help.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Body>
        <soap-env:Fault>
          <faultcode>soap-env:Server</faultcode>
          <faultstring xml:lang="en">Error during XML =&gt; ABAP conversion (; error ID: ; ( ))</faultstring>
        </soap-env:Fault>
      </soap-env:Body>
    </soap-env:Envelope>

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • WS Policy error while invoking a webservice

    Hi All,
    I am able to sucessfully invoke a SOA webservice with WS security policy 'oracle/wss_http_token_service_policy' enabled.
    But when I call a SOA webservice which inturn calls another SOA webservice(with both having the above WS policy),
    the security header is not passed and hence authentication fails with error 'Unable to access WSDL'
    The components i am using in my composites are Mediator, BPEL , DBadapter.
    Kindly advice.
    regds,
    Varun
    Edited by: Varun V. Iyer on 04-Feb-2013 03:47

    Hi Kulwant !
    Check this out:
    Removing HTTP header field DOCTYPE in inbound HTTP
    Regards,
    Matias
    ps: please award points if helpful

  • Error while invoking a webservice using Axis deployed in  tomacat from Bpel

    Hi,
    I am trying to invoke a Axis webservice(from Java class to WSDL- bottom up java bean webservice approach) developed in Exclipse IDE, deployed in Tomcat.
    When i am trying to invoke the service, from Bpel from Jdeveloper it is throwing error as such :
    Invoke_1 (faulted)
    [2009/05/22 14:32:18] Faulted while invoking operation "storeLoanData" on provider "LoanDataPersist".less
    -<messages>
    -<input>
    -<Invoke_1_storeLoanData_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="p_request">
    -<p_request xmlns="" xmlns:def="http://dtos.demo.com" xsi:type="def:LoanDataPersistRequest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <customerName>wew
    </customerName>
    <netIncome>12
    </netIncome>
    <loanAmount>12
    </loanAmount>
    <realEstateAddress>wew
    </realEstateAddress>
    <customerID/>
    </p_request>
    </part>
    </Invoke_1_storeLoanData_InputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>exception on JaxRpc invoke: trailing block elements must have an id attribute
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    I may add that, the WSDL generated is using "soap:enc:array ", rpc style.
    Can anyone tell me the reason and suggest .

    Hi Marc,
    Thanks for the guidancer. But sir, i am unable to detect at which place i have to do the required changes.I found p_request as a parameter in the method only in the interface only.
    As bcos ultimately , i am generating the tomcat /axis web service (WSDL) from the java class, which is using 2 Request and response java bean, in which they are doing someing like this:
    private static org.apache.axis.description.TypeDesc typeDesc =
    new org.apache.axis.description.TypeDesc(LoanDataPersistRequest.class, true);
    static {
    typeDesc.setXmlType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("customerName");
    elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
    elemField.setXmlType(new javax.xml.namespace.QName("", "string"));
    elemField.setNillable(true);
    etc etc...................}
    And second thing is when the WSDL is generated, from that the stubs and skeletons is generated to test the service.
    There in the Stub i found out "p_request" in this place:
    private static void _initOperationDesc1(){
    org.apache.axis.description.OperationDesc oper;
    org.apache.axis.description.ParameterDesc param;
    oper = new org.apache.axis.description.OperationDesc();
    oper.setName("storeLoanData");
    param = new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false);
    oper.addParameter(param);
    oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
    oper.setReturnClass(com.demo.dtos.LoanDataPersistResponse.class);
    oper.setReturnQName(new javax.xml.namespace.QName("", "storeLoanDataReturn"));
    oper.setStyle(org.apache.axis.constants.Style.RPC);
    oper.setUse(org.apache.axis.constants.Use.ENCODED);
    _operations[0] = oper;
    And in skeleton :
    static {
    org.apache.axis.description.OperationDesc _oper;
    org.apache.axis.description.FaultDesc _fault;
    org.apache.axis.description.ParameterDesc [] _params;
    _params = new org.apache.axis.description.ParameterDesc [] {
    new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false),
    oper = new org.apache.axis.description.OperationDesc("storeLoanData", params, new javax.xml.namespace.QName("", "storeLoanDataReturn"));
    _oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
    _oper.setElementQName(new javax.xml.namespace.QName("urn:com.demo.service", "storeLoanData"));
    _oper.setSoapAction("");
    myOperationsList.add(oper);
    if (_myOperations.get("storeLoanData") == null) {
    _myOperations.put("storeLoanData", new java.util.ArrayList());
    ((java.util.List)_myOperations.get("storeLoanData")).add(_oper);
    PLease suggest if i make some changes in stub and skeleton how it would reflect the WSDL... or else please suggest where shud i do the required changes.

Maybe you are looking for