HTTP Error 501 with SOAP Sender channel

Hello,
i've am simple Question:
I want to call the following SAP XI SOAP Sender channel "MySoapSenderChannel":
XI-Parameters:
namespace: <myInterfaceNamespace>
Interface:   <myAsynchInterface>
QoS: Exactly Once in Order
Queue: MY_QUEUE
We do not care about the Response - so the processing is asynchron.
Thus my interface mapping maps to asynch interfaces. The desitnation
is an ABAP Proxy. The configuration has been done and tested.
Here my question:
according the documentation, the URL has the following syntax:
http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel.
In our case:
http://<myHost>:8002/XISOAPAdapter/MessageServlet?channel=:MyService:MySoapSenderChannel.
But when i generate a WSDL for the interface out of the Configuration, the address is:
<soap:address location="http://<myHost>:8002/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=MyService&amp;Interface=...
and so forth.
But was is the difference between these 2 possibilities?
Why do i get HTTP Error 501 when i use the URL from the documentation (the first one)?
Thanx in advance
Gunnar

Gunnar,
I will suggest you to go through it once to check all your connection.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Regards,
Sarvesh

Similar Messages

  • Error with Soap sender channel

    I have a scenario SOAP->Proxy ..whenever I send a message through SOAP its giving error as below:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection SOAP_http://sap.com/xi/XI/System is currently not started.
    Please help me in rectifying this...

    Kiran,
    strange thing is that when we remove the standard module from the channel then its workign fine..
    Well, you can try couple of things more -
    1. Re-start the java engine.
    2. If step 1 doesn't work, delete the channel -> activate the change list -> create a new channel and try again.
    I feel that after step 1, it should work. Let us know how it goes.
    Regards,
    Neetesh

  • OAM 11gR2 - Remote Registration Exception - HTTP Error 501

    Hello
    I installed OAM 11gR2 and am trying to configure OAM with WebGate.
    While doing remote registration using rreg.bat I get an exception
    RemoteRegistrationException
    HTTP error 501 could not send HTTP Post message
    Can anyone help me?
    Thanks,
    Ram

    Its most likely a problem with your java version.
    I know for sure that Java version 1.6.0_37 doesn't work and that 1.6.0.41 works for sure.
    Can you try installing a different version of java.
    if on linux use the
    update-alternatives --config java
    as root to point to the java (other version that you installed) and try again.
    Let me know if that helps.
    Cheers
    -Kungo

  • Connection problem in SOAP Sender Channel

    Dear All,
    I have created two SOAP Sender channel with the following specification:
    Transport Protocol - HTTP
    Message Protocol - SOAP 1.1
    HTTP Security Level - HTTP
    But while sending a message from a Java client, I am getting the following error :
    The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="XISOAPApps"'.
    Please suggest if you find any way out.
    Thanks and Regards,
    Rana Brata De

    Hi Rana
    Looks like you have used authentication scheme as 'anonymous'. But you have chosen the option 'HTTP' in soap adapter.
    So you have to pass the user id and password during the call.
    Sample Code:
    ICalcCTCWebService calcCTCWebService = calcCTCWebServiceImplServiceLocator.getCalcCTCWebServiceImplPort();
    Stub stub = (Stub)calcCTCWebService;
    stub._setProperty(Stub.USERNAME_PROPERTY, "abc");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "xyz");
    You can also test the WSDL from SOAP UI and provide user name and password in the header section in SOAP UI and see if the message goes to PI or not.
    You can also try the below option in the sender soap adapter and see if it works or not.

  • How to re-use one SOAP Sender Channel for two different messages?

    Hi!
    I have an XI Proxy to SOAP Sync Scenario. 5 messages uses only 2 channels - cc_XI_Sender and cc_SOAP_Receiver. All messages comes from one Sender Channel and goes to one Receiver channel, and it works fine.
    When I make the same for SOAP to XI Proxy Sync Scenario, I've got a problem. For example I have 2 different messages (mi_so_MSG_ONE and mi_so_MSG_TWO), so it works, if I had a two different sender channels (cc_SOAP_R1 and cc_SOAP_R2).
    If I set the same Sender Channel in both Sender Agreements (cc_SOAP_R1), only one message (mi_so_MSG_ONE) goes without errors. When I send a second message (mi_so_MSG_TWO), in SXMB_MONI this message comes from Business System (BS_TEST) as message type one (mi_so_MSG_ONE), and then in stage of transformation in Interface Determination goes to message mapping program for other kind of messages (MM_MSG_ONE_to_XI_PROXY). And then - error in message mapping.
    I try many URLs for both messages:
    1) http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TEST:cc_SOAP_R1&version=3.0&Sender.Service=&Interface=
    2) http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TEST:cc_SOAP_R1&version=3.0&Sender.Service=BS_TEST&Interface=*
    3) http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TEST:cc_SOAP_R1&version=3.0&Sender.Service=BS_TEST&Interface=...MyNameSpace...mi_so_MSG_TWO
    Message in payload:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Inbound Message   -->
    <MSG_TWO xmlns="urn:xxx:yyy:MyNameSpace" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">... some fields... </MSG_TWO>
    But in SOAP Header I see that is NOT second message!
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    < !--  Inbound Message   -->
    <SAP:Main>
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
      <SAP:MessageId>93233F70-3E2F-11DF-8CD3-00237D301CD6</SAP:MessageId>
      <SAP:TimeSent>2010-04-02T08:13:09Z</SAP:TimeSent>
      <SAP:Sender>
        <SAP:Service>BS_TEST</SAP:Service>
        <SAP:Interface namespace="urn:xxx:yyy:MyNameSpace">mi_so_MSG_ONE</SAP:Interface>
      </SAP:Sender>
      <SAP:Interface namespace="urn:xxx:yyy:MyNameSpace">mi_so_MSG_ONE</SAP:Interface>
      </SAP:Main>
    Is it correct that many kinds of messages cannot goes through one Sender Channel ? If not... How can I reuse one SOAP Sender Channel for both this messages?
    Thanks for helping.

    Thanks for answers!
    It means a webservice application will be deployed and exposed in PI using the associated Message Interface and its namespace information in the SOAP Sender channel.
    It means only one Sender Channel per one pair of names (name of Message Interface and name of namespace). And it will fail if I change something. And question is: why URL for sending SOAP message contains parameter "Interface"?
    "backward compatibility" or "for future use only"?
    Nothing happens when I change this parameter, seems that name of Interface comes from first of founded Sender Agreements.
    If the structures are the same
    No. Structures are different.
    Making one structure per all SOAP incoming messages looks workable, but... looks strange (in fact I have a lot of SOAP messages, more than 100 Sender channels).
    I found an information, that I can use one Sender channel per many messages with different structures only if I make this messages like different Operations in one Service Interface (in PI 7.1).
    But in this case in list of messages in SXMB_MONI I will see only a one name of Service Interface for all my messages and it's not so comfortably for supporting: to take a name of operation that fails I need to goes inside.
    In older version of XI (prior 7.1) using one sender channel per many messages allowed without any hints.

  • Defalt VI Parameters in SOAP Sender Channel Config

    Hi all,
    I have configured soap sender channel with Default XI Parameters as * for both Interface name space and Interface name.
    SOAP adapter sends the message with * as the interface namespace and interface and fails with the error "No receiver could be determined".
    Why is SOAP adapter is using the default XI parameters from the channel instead of the parameters passed with the SOAP message.
    I could make this work specifying the Default XI parameters with correct name space and interface, but my problem is I have 2 different interfaces from the same service and cannel, I don't want to create a separate channel for each of the interfaces.
    Please help.

    Hi Pratat,
    you have to set the
    Use Query String to true and the adapter will take the service/interface data from the query string instead of the Default XI Parameters
    Regards,
    Nicolá

  • Question: Application error when using SOAP sender

    Hi,
    I got the following error when calling SOAP sender:
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The return message is:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
      <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">gdcn-admin</ns2:hostname>
    From the runtime monitor, it shows:
    SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    Actually I maintained the host name in file hosts. And with XMLSpy, I can directly connect the Webservice successfully, but with XI, it stops me at this point. It seems the connection has been established, because if the WebService is stopped, I will get error HTTP 0 Null, If it's started, I get the above problem.
    Could you please provide the hints.
    Thanks a lot!
    Best Regards
    Yuedong

    Hi,
    I found the problem:
    It's because of the wrong format of message. the message is created with a WSDL file generated by external development system, but it's not correctly explained by XI. I manually created the messge (request & response), then it worked.
    Actually the error has nothing to do with hostname. it means the host returns application error (but unfortunately there is no detailed information).
    Thanks a lot for your kindly help!
    Best Regards
    Yuedong
    By the way, how can I reward the point?
    Message was edited by: Yuedong Chen

  • Soap Sender Channel Config

    While configurting Soap Sender channel, what should we use for "Deafult XI Parameters" section values for
    'Default Interface Namespace' and 'Default Interface Name' ?
    Thanks

    HI,
    Input Message Interface name and Namespace of the interface created (NameSpace of the object)
    Just to cross check-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    blog e.g-
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Regards,
    Moorthy

  • 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

  • Specifying queue name in SOAP sender channel

    Hi
      We are on XI 3.0 SP18 - I have a requirement in which a soap webservice exposed out of the XI box - is to be called in an asynchronous mode - the webservice posts - document onto R/3 using an ABAP server proxy.
    Now, there is also a need to post documents onto R3 - by serializing through an object key - material number ( say updates to a material ). I saw that there is a queue name in the soap sender channel setting when I choose eoio - qos . Is this queue name static ?
    Also, any suggestions on how I can serialize the calls to the webservice based on an object key ( material number is supplied by the soap client ) all the way to R3 ( I am using a ABAP server proxy on the R3 side )

    Ravi
           I am looking for way to specify a non-static queue name here - so that I could establish a queue based on an object key from the source - web service client all the way to R3 - I wanted to know the options available on specifying the queue name in the communication channel -
    Thanks...

  • 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

  • Can Soap sender channel be directed to Soap reciever channel

    Hi
    I have a three layer architecture on the target side. First layer is Web AS, Second layer is Web AS asd third is PI server.
    Now i am recieving Soap messages from a source PI. Its a SSL communication. I have to terminate SSL on the first Web AS and pass on the same soap message to third layer that is PI server.
    Do i  have to configure a Soap sender channel on Web AS to terminate SSL?
    If i do configure Soap sender channel on Web AS , how do i send the same soap message to third layer that is PI server. I dont want to write the incoming file at any location and then pick it up and send it through SOAP reciever channel. Is there a way to direct the same SOAP message from SOAP sender channel to SOAP reciver channel.

    >>pass on the same soap message to third layer that is PI server.
    If you simply want to pass on the same messages,why not use configure multiple receiver/interface for it.
    Thanx
    Aamir

  • "HTTP error: 501 Not Implemented" error while uploading emp photo

    Hi,
    While uploading employee photo
    getting error "HTTP error: 501 Not Implemented"
    this error i am getting while linking employee photo to SAP.
    pls suggest me how to solve.
    thanx in advance

    Hi,
    don't worry about the "HTTP error:501 Not Implemented The adminContRep command is an internal SAP R/3 command and not accepted by this content repository" error message, it only means that if you chosen the CSadmin button (or transaction) that this only developed from SAP content server and cannot be used for other 3rd party ones, like OpenText.
    BR,
    Janos

  • "NO_RECEIVER_CASE_BE" error with SOAP Sender assigned to a Business Service

    Hi all,
    we have a strange error with XI3.0
    We created a configuration scenario where the initial step is done by a Business System, that uses a SOAP Sender communication channel to send its request. And this works great when testing it with XMLSpy.
    But we then needed to shift from a Business System to a Business Service, as the machine sending the SOAP request changed and was not anymore part of the landscape, but elsewhere.
    Hence we recreated a SOAP sender which we assigned to this new business service, doing absolutely the same configuration work as for the other soap sender of the former business system.
    Yet when testing it through XMLSpy, we everytime get a NO_RECEIVER_CASE_BE error back, stating that "No receiver could be determined". Yet when checking in sxi_cache, receiver determination is clearly there. All the blogs I went into are only refering to Business System for a SOAP sender, so I was wondering if any of you already managed to assign a SOAP sender to a business Service.
    Regards,
    Cedric

    hi,
    so you sue SOAP to make a query ? (sync)
    or to send the data to XI ? (async)?
    if async then make sure
    you use <b>Quality of Service</b> other then BE
    in your soap adapter channel
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Error when test an INterface with SOAP Sender CC

    Hello everybody,
    I'm testing a Scenario that goes as follows Web Service Consumer-> PI 7.0 -> RFC, now I've already tried to test it with Altova XML Spy, and with the WebServcies Navigator Tool of UDDI, now I'm getting the next error in both cases:
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=utf-8
    Date: Tue, 16 Dec 2008 22:10:42 GMT
    <?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>RecoverableException</code>
              <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: java.net.ConnectException: Connection refused: connect
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:157)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:850)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         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)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    now in the RW in the communication channel I', getting history as follows:
    error ocurred
    request received
    but no more about it, and I can't see the message in SXMB_MONI, can anyone tell me something about what could be wrong, thanks in advance.
    Regards.

    Check if the XI RFC destination is working fine. ALso check the sap note no.804124, 807000 .
    Thanks!

Maybe you are looking for

  • How do I convert an flv file to still images?

    This may sound stupid, but I have a downloaded flv file, and I want to use about 8 seconds  to make still images so I can trace into Illustrator and then export it into Flash. (both are older versions). Is this possible? It is for an animinated logo.

  • Can't pick correct timezone for Lightning from city dropdown list

    My country, Iceland, uses UTC all year round with no daylight savings. Europe/Reykjavík (or even better, Europe/Kópavogur !) is not an option and so with Casablanca (old Windows default too) taking on the timezone mantle the daylight savings mean my

  • Changes made in LR 1.3 to psd files are not reflected in ACR 4.3, Bridge 2.1.1.9, or Photoshop CS3

    I have repeatedly imported several psd images into LR 1.3, made changes in the develop mode, and saved metadata to file manually in addition to having the auto write metadata option on in LR and ACR. Any changes I have made in LR are not reflecting i

  • Help with Photomerge and how to do suggested solutions

    I am using Photoshop CS3 on Windows XP and am having a problem with Photomerge working very slow, not working at all, and not being able to handle more than 2 photos (sometimes it won't even do 2 that have 25% overlap). I found these solutions in a p

  • How to read XML tags in a file, one at a time?

    My file format is: <main> <section> (many tags, some including CDATA) </section> <section> (many tags, some including CDATA) </section> many more <section>s (over a million) </main> To avoid reading all the <section>s into memory, how can I read one