SOAP Request Error in OSB Console

Hi,
I'm just learning OSB, and I tried to test out a web service project that I'd built. I deployed the project onto Weblogic, created the WSDL file for the business service in OSB and mounted that as well, but when I try to test it, the SOAP response gives the following error: Cannot find dispatch method for {http://calculatorservice}doAdd
I'm using JDeveloper 11.1.1.4, WebLogic 10.3.4 and OSB 11gR1.
The complete source code is as follows:
Calculator.java
package calculatorservice;
import javax.jws.WebService;
@WebService(targetNamespace="http://calculatorservice")
public class Calculator implements CalculatorIF{
@Override
public int doAdd(int a, int b){
return a + b;
@Override
public int doSub(int a, int b){
return a - b;
CalculatorBusinessService.wsdl
<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="CalculatorBusinessService"
targetNamespace="http://calculatorservice"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://calculatorservice"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:types="http://calculatorservice">
<types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://calculatorservice"
targetNamespace="http://calculatorservice"
elementFormDefault="qualified">
<xsd:complexType name="AddInput">
<xsd:sequence>
<xsd:element name="arg0" type="xsd:int"/>
<xsd:element name="arg1" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AddOutput">
<xsd:sequence>
<xsd:element name="result" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SubInput">
<xsd:sequence>
<xsd:element name="arg0" type="xsd:int"/>
<xsd:element name="arg1" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SubOutput">
<xsd:sequence>
<xsd:element name="result" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="doAddRequest" type="tns:AddInput"/>
<xsd:element name="doAddResponse" type="tns:AddOutput"/>
<xsd:element name="doSubRequest" type="tns:SubInput"/>
<xsd:element name="doSubResponse" type="tns:SubOutput"/>
</xsd:schema>
</types>
<message name="doAddInput">
<part name="parameters" element="tns:doAddRequest"/>
</message>
<message name="doAddOutput">
<part name="parameters" element="tns:doAddResponse"/>
</message>
<message name="doSubInput">
<part name="parameters" element="tns:doSubRequest"/>
</message>
<message name="doSubOutput">
<part name="parameters" element="tns:doSubResponse"/>
</message>
<portType name="Calculator">
<operation name="doAdd">
<input message="tns:doAddInput"/>
<output message="tns:doAddOutput"/>
</operation>
<operation name="doSub">
<input message="tns:doSubInput"/>
<output message="tns:doSubOutput"/>
</operation>
</portType>
<binding name="CalculatorBinding" type="tns:Calculator">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/http"/>
<operation name="doAdd">
          <soap:operation style="document"/>
          <input>
               <soap:body use="literal"/>
          </input>
          <output>
               <soap:body use="literal"/>
          </output>
</operation>
<operation name="doSub">
          <soap:operation style="document"/>
          <input>
               <soap:body use="literal"/>
          </input>     
          <output>
               <soap:body use="literal"/>
          </output>
</operation>
</binding>
<service name="CalculatorSerivce">
     <port name="CalculatorPort" binding="tns:CalculatorBinding">
          <soap:address location="http://localhost:7001/Calculator-CalculatorService-context-root/CalculatorPort" />
     </port>
</service>
</definitions>
Now, here are the SOAP messages auto-generated by OSB console:
SOAP Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<soapenv:Body>
<cal:doAdd xmlns:cal="http://calculatorservice">
<cal:arg0>3</cal:arg0>
<cal:arg1>3</cal:arg1>
</cal:doAdd>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Client</faultcode>
<faultstring>
Cannot find dispatch method for {http://calculatorservice}doAdd
</faultstring>
</S:Fault>
</S:Body>
</S:Envelope>
I'd be really grateful if anyone could point out my mistakes.
Thank You
Edited by: Debojit Sinha on Feb 4, 2011 7:35 PM

Hi Palak,
If you are talking about the weblogic test client for the web service, then yes I was. Also, since my last post, I tried to run the business service by copy-pasting the WSDL generated by the server and using it to create the Business service, and it works fine. The results are wrong, but the error is gone. So, I think that I can safely conclude that the problems lies i the WSDL. I haven't been able to pinpoint the source, unfortunately. Comparing the two also turned up nothing. As far as I can tell, they are both semantically identical. But to let you judge for yourself, here's the server-generate WSDL:
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://calculatorservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://calculatorservice" name="CalculatorService">
<types>
<xsd:schema>
<xsd:import namespace="http://calculatorservice" schemaLocation="http://localhost:7001/Calculator-CalculatorService-context-root/CalculatorPort?xsd=1"/>
</xsd:schema>
</types>
<message name="doAdd">
<part name="parameters" element="tns:doAdd"/>
</message>
<message name="doAddResponse">
<part name="parameters" element="tns:doAddResponse"/>
</message>
<message name="doSub">
<part name="parameters" element="tns:doSub"/>
</message>
<message name="doSubResponse">
<part name="parameters" element="tns:doSubResponse"/>
</message>
<portType name="Calculator">
<operation name="doAdd">
<input message="tns:doAdd"/>
<output message="tns:doAddResponse"/>
</operation>
<operation name="doSub">
<input message="tns:doSub"/>
<output message="tns:doSubResponse"/>
</operation>
</portType>
<binding name="CalculatorPortBinding" type="tns:Calculator">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="doAdd">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="doSub">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="CalculatorService">
<port name="CalculatorPort" binding="tns:CalculatorPortBinding">
<soap:address location="http://localhost:7001/Calculator-CalculatorService-context-root/CalculatorPort"/>
</port>
</service>
</definitions>

Similar Messages

  • SOAP request error

    Dear XI Expertise,
    I am doing a scenario on SOAP>XI>System.....
    First thing my SOAP Adapter is not enabled when I see in the RWB-->Adapter Monitoring
    For this I searched the forum and followed almost all the blogs.......but could not find a solution......
    Especially in one blog thread I found one person has faced & been solved the same problem which I am facing. But for me it is not working......
    Here is the URL for that one...
    how can i enable SOAP Adapter?
    "In almost all the blogs, I found a solution given by some experts that when we send our first SOAP message, it will be automatically activated". But for me this is also not working.........
    I designed and configured my scenario in IR & ID and created a WSDL file for my outbound interface. Actually I created outbound interface from external definition (WSDL) which I got from EP side.....
    I used XML spy and created a "new SOAP request" from WSDL file which I generated from ID and given proper input in that message and sent the request.
    When I sent the request I got the following error message(dialog box)....
    HTTP error could not POST File
    ‘/XlSOAPAdapter/MessageServlet?channel=:LEGACYSYS_PRA_BS:WS_Sender&amp;version=3.O&amp;Sender.Service=LEGACYSYS_PRA_BS&amp;lnterIace=ns%3%2F%2Ffx.com%2Farchana%2Fwstorfc%5EPR_Out_MI’ on server ‘bcone-prd'(500).
    when I click ok, In the next dialog box I got this message
    "Error sending the SOAP data"
    Please help me out............
    Advance Thanks
    Praveen Gujjeti

    Praveen ,
    May I suggest a workaround till your SOAP adapter issue is not reolved?
    There are 2 URL's to which a SOAP message can be posted.
    1. You post it to the Adaptee Engine and the SOAP adapter then sends it to the Integration Engine.
    2. You post the message to the Integration Engine directly.
    The url you are now using is pointing to 1.
    Recreate the WSDL with the following URL-->
    <b>http://<server>:<ABAP-port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interface=<YourNamespace>%5E<YourInterface></b>
    Click on Propose URL while defining the WSDL. More is on this blog,
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    Let me know if it solves the problem partially?
    Regards,
    Bhavesh

  • Net.SOAP.request error

    I'm trying to invoke a web service after pressing a button in a PDF file.
    Unfortunately I get the following error:
    NotAllowedError: Security settings prevent access to this property or method.
    Net.SOAP.request:22:Field fire_action_btn:Mouse Up
    Adobe Acrobat SDK documentation at page 664 says that request method of Net.SOAP object requires forms rights.
    The document has the following security permissions:
                                      Printing: Allowed
                    Document Assembly: Not Allowed
                      Content Copying: Allowed
    Content Copying for Accessibility: Allowed
                      Page Extraction: Allowed
                           Commenting: Not Allowed
               Filling of Form Fields: Allowed
                              Signing: Not Allowed
           Creation of Template Pages: Not Allowed
    I've thought that "Filling of form fields" is the right permission required by this method, but clearly I was wrong. Which is the permission that the document should have in order to invoke Net.SOAP.request? How can I set it?
    I've done the tests using Acrobat Reader 9.4.2
    Thanks and regards,
    Alessandro

    With the Adobe LiveCycle Reader Extensions ES2 module you can add the form rights:
    http://www.adobe.com/products/livecycle/readerextensions/

  • Error in OSB console -Urgent

    hi,
    i tried to import an OSB project into console, when i do this i am getting following error in viewconflicts tab, i am not able to activate my session due to this:
    Invalid xml: Expected elements 'outbound-authentication@http://www.bea.com/wli/sb/transports/http service-account@http://www.bea.com/wli/sb/transports/http proxy-server@http://www.bea.com/wli/sb/transports/http follow-redirects@http://www.bea.com/wli/sb/transports/http chunked-streaming-mode@http://www.bea.com/wli/sb/transports/http' instead of 'connection-timeout@http://www.bea.com/wli/sb/transports/http' here in element outbound-properties@http://www.bea.com/wli/sb/transports/http
    can anyone pls hlep me to solve this issue.
    thanks
    ayyadurai.

    Hi,
    the jar doesnt contain any service account in it. OSB version is 10.3. when i deploy any new projects in that console means it is showing the same errror in conflicts tab. i dont know what may be the reason.
    thanks

  • EPC Capture SOAP Request error

    Hello dear experts,
    I'm trying to send a simple SOAP EPC capture request to SAP OER. The request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pta="http://sap.com/xi/PTA" xmlns:stan="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
       <soapenv:Body>
          <pta:EPCISDocument schemaVersion="1.0" creationDate="2011-04-01T10:02:59+00:00">
             <EPCISBody>
                <EventList>
                   <ObjectEvent>
                      <eventTime>2012-12-12T06:36:17Z</eventTime>
                      <eventTimeZoneOffset>+00:00</eventTimeZoneOffset>
                      <epcList>
                         <epc type="sgtin">urn:epc:id:sgtin:0000.0000.11112</epc>
                      </epcList>
                      <action>ADD</action>
                   </ObjectEvent>
                </EventList>
             </EPCISBody>
          </pta:EPCISDocument>
       </soapenv:Body>
    </soapenv:Envelope>
    But than I'm getting an error, that I not understand:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>System Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context></context>
                   <code>ABAP.PARSE_APPLICATION_DATA</code>
                   <text>Error during XML => ABAP conversion: Request Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS261BFEA7FED17BDDAAA1 Line 19 An error occurred when deserializing in the simple transformation program /1SAI/SAS261BFEA7FED17BDDAAA1 (Der Wert '' liegt nicht im Wertebereich des XML-Schema-Typs 'decimal' oder verletzt eine der angegeben Einschränkungen. Kernel ErrorId: ST_VALIDATION_</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    Can somebody help me please?

    Hi Juergen Mueller
    I think on receiver side you have Proxy. so the thing is debug your inbound Proxy and you come to know where it is getting failed. You can do it by following way..
    take payload which is there after mapping and test your inbound proxy in debug.
    to debug use
    go to sproxy.. then select your inbound proxy and click execute(F8) and provide the payload in provided window click on execute and debug the proxy..
    problem is somewhere the data type is not matching or length is not matching..
    Thanks,
    Bhupesh

  • Error while sending a soap request from XML SPY to a webservice in XI

    Hi ,
    I published a webservice om the XI end and testing it with consuming the WSDL file in XML SPY and sending a soap request from there.
    I am getting the following error .
    <b>com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name</b>, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#4 $)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:380)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Is this error due to the user authentication or due to some other issue .
    Please do let me know soon .
    Thanks a lot
    Nikhil

    Hi Ricardo ,
    I have the correct port now.
    the url looks like
    http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST
    when I am testing it in the XML spy. and send a soap server request. I am getting the popup for user authentication . once i put my user id it gives me a error saying
    <b>HTTP operation 'POST' could not be performed on URL
    '/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST&amp;version=3.0&amp;Sender.Service=SIEBEL_DEV&amp;Interface=http%3A%2F%2FOFCOM%2FUNIFY%2FCustomerMaster%5EMI_CUST'  due to an error :
    The connection to the server was terminated abnormally</b>
    Any Idea as to why is such a error is coming
    Thanks for the help
    Nikhil

  • Error while sending SOAP Request to server through XML Spy

    i have created a webservice to jdbc scenario application and when i tried to check my webservice with XML Spy by giving inputs to wsdl file as SOAP Request to server, its showing the error like this:
    <b><u>Http error : could not POST File</u></b>
    It would be good if u explain step by step procedure how to solve the issue.
    Thanks & Regards.,
    Pushparaju.B

    This is the error showing after clicking OK button after it showed the error
    Http error : could not POST File
    <b><?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>DeliveryException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:PL_TIMEOUT:
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:451)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope></b>
    yes i have the role of XIAPPLUSER
    scenario has created by me and i have the authorization to enter into XI

  • Error with SOAP Request to calendar web service

    Hi
    I'm sending the following SOAP request to a calendar web service to create an appointment in the calendar. The response returns what seems to be a syntax error ("The Create method did not have a proper element in the request") but I can't see the cause of the fault. Any suggestions on what it may be? It's an 11g DB.
    Many thanks
    -x-POST-x-
    POST /ocws-bin/ocas.fcgi HTTP/1.0
    Content-Type: text/xml; charset="utf-8"
    Content-Length: 993
    SOAPAction: SOAPAction: "http://www.oracle.com/WebServices/Calendaring/1.0/Create"
    Connection: close
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header><auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
    <Name>CalendarName</Name><Password>CalendarPassword</Password>
    </auth:BasicAuth> </SOAP-ENV:Header>
    <SOAP-ENV:Body><cwsl:Create xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/"><CmdId>ITS APPOINTMENT</CmdId><iCalendar>
    <vcalendar prodid="-//Oracle//Calendaring//Calendarlet//EN" version="2.0">
    <vevent><class>PUBLIC</class>
    <description>Calendar Body</description>
    <dtstart value="DATE-TIME">20102905T120000</dtstart>
    <duration>P00DT0H30M00S</duration>
    <location>Location of user</location>
    <summary>Incident ID - (name of user])</summary>
    <uid>XGjRVnpReQALNsILlBlvcyXGCoUyXF</uid>
    <x-oracle-eventtype>APPOINTMENT</x-oracle-eventtype>
    <priority>5</priority>
    </vevent>
    </vcalendar>
    </iCalendar></cwsl:Create></SOAP-ENV:Body></SOAP-ENV:Envelope>
    -x-RESPONSE-x-
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 27 May 2010 08:22:16 GMT
    Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a mod_fastcgi/2.4.6
    OCAS-ProcTime: 407
    Connection: close
    Content-Type: text/xml; charset=utf-8
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server.Error::System::SOAPRequest</faultcode>
    <faultstring>The Create method did not have a proper element in the request</faultstring>
    <detail>
    <cwsl:Error xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <Class>Error::System::SOAPRequest</Class>
    <Code>0020-00-00-00000034</Code>
    <Line>3180</Line>
    <FileName>SOAPRequestHandler.cpp,v</FileName>
    <Version>1.57</Version>
    <LastMod>2007/05/30 21:13:25</LastMod>
    <Author>pscattol</Author>
    <Date>Thu May 27 09:22:16 2010</Date>
    <PID>26152</PID>
    <TID>3044838304</TID>
    <Level>Error</Level>
    </cwsl:Error>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>

    Hi,
    I am having problem using dii client, while sending a
    request to c# webservice. error follows
    QName QNAME_TYPE_STRING = new QName(NS_XSD,
    "string");
    call.setReturnType(QNAME_TYPE_STRING);
    call.setOperationName(new QName(BODY_NAMESPACE_VALUE,
    "GetDetails"));
    call.addParameter("String_1", QNAME_TYPE_STRING,
    ParameterMode.IN);Do you need another call to addParameter here?
    String[] params = { "02", "2004" };
    String result = (String)call.invoke(params);

  • ERROR while building the SOAP Request in OAM

    Hi all,
    In a brief step what my requirement is.
    Need to build an SOAP request using java objects generated from XSD files comes with installation directory by setting all the required values.
    What i have done?
    ---- To generate Java objects from given XSD files i am using Castor tool.
    ---- Coming to my requirement i have to create a user through create workflow for this i created objects for workflowSaveCreateProfile.xsd using castor framework and i am trying to marshal (building the SOAP Request). but it's giving me an error telling that required field is needed as below.
    Caused by: ValidationException: The following exception occured while validating field: _attributeName of class: com.trewport.oblix.ObTicketAttr: The following exception
    occured while validating field: obDisplay of class: com.trewport.oblix.AttributeName: The field 'obDisplayChoice' is a required field of class 'com.trewport.oblix.ObDis
    play;
    - location of error: XPATH: /ObTicketAttr
    The following exception occured while validating field: obDisplay of class: com.trewport.oblix.AttributeName: The field 'obDisplayChoice' is a required field of class '
    com.trewport.oblix.ObDisplay
    at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:278)
    at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptorImpl.java:1065)
    at org.exolab.castor.xml.Validator.validate(Validator.java:135)
    at org.exolab.castor.xml.FieldValidator.validateInstance(FieldValidator.java:326)
    at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:271)
    ... 19 more
    I am not getting how to set the values in that generated java objects.
    Please help me out.
    Note: For compiling and running the java objects i have to use java 1.4.
    Please let me know your thoughts.
    Thanks & Regards,
    Siva Pokuri.

    This error occurs due to the following customisaton, Please
    check this :
    Please can you check if the Pernr used
    has correct information like It0105 etc, also the rules are
    correctly defined.
    Webmo feature is activated or no?
    For the Employee, First of all check the Period Work Schedule also
    the Quotas of the pernr needs to maintained in 2006, Please do
    this customisation and it should solve the issue.
    Maintain the absence quota in the IT2006 and then try once.
    Also make sure that the Settings in Webmo and PTARQ etc all is done
    The pernr belongs to the a Rule and have absences defined for him.

  • Error when posting a SOAP request

    Hi all,
    Facing error when posting the SOAP request and after entering the Server Username and password giving error that http not found and url
    The URL i follow is http://<hostname>:<port>/XISOAPAdapter/MessageServlet?version=7.0&channel=:BusinessSystem:PI_SOAP_CC
    can any one of you tell me in place of XISOAPAdapter what should i place?
    Please help me to post the SOAP request to PI server.
    Thanks in advance ,
    Manohar.

    Hi ,
    copy the same URL  (Endpoint that you had given while generating wsdl file) to the browser and chek the status. ( http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel)
    See the below URL for the same i.e. SOAP adapter...http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    You should get response something like this '
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#15 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    This  is make sure that webservice endpoint is given correctly. Don't forget to give username and password for connecting to XI server. user should xiappluser .
    Ranjeet Singh.

  • Error 401 while sending SOAP Request to XI

    hi friend ..
    i am getting Error 401 while sending SOAP Request to XI..
    can u suggest me where may be the error?
    thanks..

    Hi,
    Refer these threads:
    Testing XI SOAP scenario via XMLSpy
    Re: SOAP Sender ADAPTER 401 No Authorisation
    Re: XI Web Service - Code: (401) Unauthorized.
    Try soap client https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f42830d8
    Regards
    Suraj

  • HTTP error while sending SOAP request using wsdl file

    We created SOAP request using the wsdl file ; while sending SOAP request from Altova XMLSpy, we are getting the below error.
    HTTP error: could not post file
    Can you please explain how to resolve this issue
    Regards,
    Sanghamitra

    there is very little information to help you here.
    Can you confirm if this is a SOAP sender scenario or SOAP receiver scenario?
    Also do go to thru these links to help you out;
    Troubleshooting
    Troubleshooting - RFC and SOAP scenarios *** Updated on 20/04/2009 ***
    RFC -> SOAP
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    SOAP <-> XI <-> RFC/BAPI
    Walkthrough - SOAP  XI  RFC/BAPI

  • XML Spy Error while testing the SOAP request

    Hi,
    I have generated a webservice from an XI scenario, I am trying to test the webservice through XML Spy.
    I am getting the following error when I am sending the SOAP request.
    Where do we specify the authentication information (user/pwd) in XML Spy.
    It is not even poping any screen to enter username and password.
    <b><i>HTTP Error: Could not post the file.</i></b>
    http://banglore:50100/XISOAPAdapter/MessageServlet?Version=3.0&Channel=:New_BP:New_BPFileSender&version=3.0&Sender.Service=New_BP&Interface=http%3A%2F%2Fgemsconsult.com%2Ffile2rfc%5EZBP_OUTPUT
    Appreciate your quick response
    Srini

    Hi,
    Try using SOAP client
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f42830d8
    Thanks,
    Prakash

  • PO 7.4: NW BPM: HTTP Error response for SOAP request or invalid content-type.HTTP 200 OK

    Hi Experts
    I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
    I am getting below error.
    Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
    SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Any idea how to fix this issue?
    Thanks,
    Sandeep Maurya.

    Hi Sandeep,
    Test the URL from your browser and check the proxy settings as well.
    Refer the below links
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
    SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
    Regards
    Bhargava Krishna

  • SOAP Receiver Error: HTTP Error response for SOAP Request

    Hi gurus,
    I'm facing a weird error in File --> PI 7.31 java only --> soap receiver proxy.
    The other interfaces runs well. just one get the the following error:
    Exception caught by adapter framework: java.io.IOException: Error receiving or parsing request message: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.
    I check the payload and test in the inbound proxy. on error.
    Any hints?
    Thanks a lot!
    regards
    Christine

    Hello Christine,
    I faced the same issue,
    You can use the beans below to overcome the error.
    And charset should be utf-8

Maybe you are looking for

  • How to customise the HTML wrapper of a SWF in BO InfoView ?

    Hi, We have built some SWF with Xcelsius and published them in the BO InfoView. We open them using the OpenDocument syntax, that generates some HTML / Javscript code around the SWF. My question is : how can we modify this template ? One of the things

  • How to store data in the text line by line?

    when i write the data into *.txt, the data I wrote before is deleted. how can wrote the data into the txt following the existing data? how to write data line by line? many thanks! my code is like: private String text = "i am yanbo du, i am a boy."; p

  • Confirmed quantity = Order quantity

    Hi Experts, Any control we can establish In sales order screen that, confirmed qty should be automtically reflectes into Order quantity when system do availability check. Purpose This makes the system whatever qty user maintain as order qty when syst

  • No puedo actualizar itunes 10.5.3 bonjour no lo encuentra y no lo puedo actualizar

    Quiero actualizar mi itunes a la 10.5,3 pero a la hora de descargar el software no encuentra Bonjour, y se interrumpe la instalación, no encuentro como actualizar o volver a instalar bonjour.

  • Upgrade from 10203 to 10204

    Hi, Need help on issue on upgradation the details are as follows: Currrent DB version : 10203 Upgrade to made to :10204 OS : Solaris 10. Everything is set but the problem is when i check in registry(dba_registry) it shows as : COMP_NAME STATUS VERSIO