Skip to Content
author's profile photo Former Member
Former Member

Problem: Plain J2SE Adapter Engine

Hello,

I have installed the Plain J2SE Adapter Engine.

On the Adpater Engine running a SOAP Adapter.

When i try to test the Adapter i become following error Message:

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 java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at com.sap.aii.messaging.net.ClientHttpImpl.call(ClientHttpImpl.java:146)

at com.sap.aii.messaging.adapter.SinglePayloadClient.doPost(SinglePayloadClient.java:222)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.aii.messaging.adapter.Zone.service(ModuleGUIBrowserEngine.java:1073)

at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:371)

any idea?

Regards,

Robin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 25, 2005 at 09:30 AM

    Hi Robin,

    could you post the SOAP Adapter module settings?

    Do you want to call a WebService from XI or do you want to use the SOAP Adapter as WebService for a local client?

    Are all URLs correct? Do you need a proxy server? Are all User and Password for WebService, Proxy Server and XI set correctly?

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Stefan,

      SOAP Adapter module settings:

      -


      1. Bubble adapter java class

      classname=com.sap.aii.messaging.adapter.ModuleBubble

      #

      1. This adapter instantiates a bubble bag for supporting

      2. a xmb web service gateway. A bubble bag is a collection of Bubble

      3. instances that form some processing chain of message objects.

      #

      1. Below parameter Bubble.Helper specifies the helper class that implements

      2. the ModuleBubbleHelper interface. This class is used to instantiate

      3. a bubble bag for this adapter.

      #

      #

      1. Sets the bubble module helper that can instantiate your bubble bag

      Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXMBWSImpl

      #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

      1. Below this line are the parameters specific to the ModuleBubbleHelperXMBWSImpl

      #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

      1. The configuration of this helper class is divided in two parts. The first part

      2. specifies the adapter configuraton for Web-Service clients communicating with an

      3. XMB server. The second part specifies the configuration for XMB clients

      4. communicating with a WebService server. Either one or both parts can be configured

      5. in a single configuration file.

      1. Part 0 (FromWS and ToWS) : common part ######

      1. Keeps the XMB headers in web service messages

      XMBWS.KeepHeaders=true

      1. Keeps the attachments in web service messages

      XMBWS.KeepAttachments=false

      1. Encodes the xmb headers into a special HTTP header string x-xmb_ws_encoded

      XMBWS.UseEncoded=false

      1. Part 1 (FromWS) : WS clients to XMB server ######

      1. The target URL of XMB broker, to which the adapter sends XMB messages.

      XMB.TargetURL=http://netweaver:8000/sap/xi/engine?type=entry

      1. The port and path where the adapter waits for web service messages from clients.

      XMBWS.WSPort=4444

      XMBWS.WSPath=/soap/start

      1. The following XMB attributes are used to fill default XMB messages.

      XMB.SenderBusinessSystem=MOS_BS

      XMB.SenderInterfaceNamespace=ns:moskau

      XMB.SenderInterfaceName=MOSOut

      XMB.QualityOfService=BE

      -


      now i have an other error message.

      -


      com.sap.aii.messaging.net.TransportException: HTTP 500 Internal Server Error

      http-Response:

      content-type: text/xml

      content-length: 349

      content-id: <soap-048c50d06eb911d9a8b6dabc0ab4bf68@sap.com>

      SOAP:Server com.sap.aii.messaging.srt.BubbleException" target="_blank"> http://schemas.xmlsoap.org/soap/envelope/'> SOAP:Server com.sap.aii.messaging.srt.BubbleException: Can't call the endpoint; Exception raised by com.sap.aii.messaging.net.TransportException: Content-Type not set

      at com.sap.aii.messaging.net.ClientHttpImpl.call(ClientHttpImpl.java:337)

      at com.sap.aii.messaging.adapter.XMBTestClient.doPost(XMBTestClient.java:236)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at com.sap.aii.messaging.adapter.Zone.service(ModuleGUIBrowserEngine.java:1073)

      at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:371)

      -


  • Posted on Jan 25, 2005 at 10:24 AM

    So you want to use the SOAP Adapter as Webservice and send data from a local client to XI.

    In your configuration, User, Password and Client of the XI system are missing.

    In XI 2.0 the config would be:

    XMB.TargetURL=http://netweaver:8000/sap/xi/engine?type=entry

    XMB.User=YourUser

    XMB.Password=YourPassword

    XMB.Client=YourClient

    XMBWS.WSPort=4444

    XMBWS.WSPath=/soap/start

    XMB.SenderBusinessSystem=MOS_BS

    XMB.SenderInterfaceNamespace=moskau

    XMB.SenderInterfaceName=MOSOut

    XMB.QualityOfService=BE

    In XI 3.0 you would have:

    XI.TargetURL=http://netweaver:8000/sap/xi/engine?type=entry

    XI.User=YourUser

    XI.Password=YourPassword

    XI.Client=YourClient

    XMBWS.WSPort=4444

    XMBWS.WSPath=/soap/start

    XI.SenderService=MOS_BS

    XI.SenderInterfaceNamespace=moskau

    XI.SenderInterfaceName=MOSOut

    XI.QualityOfService=BE

    XI.ContentType=text/xml

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.