<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Problems calling SOAP in JAVA program in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325038#M2635890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see. Can you guide me on how to set this up on SLD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Sep 2010 08:39:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-24T08:39:26Z</dc:date>
    <item>
      <title>Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaq-p/7325018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new to using SOAP. I just want to ask how to call SOAP in JAVA specifically NetBean. I already created a webservice using the WSDL a created in SAP XI but problem is when I'm trying to invoke the webservice I always get error "401 Unathorized". Is there a way to specify the user name and password when calling the webservice via JAVA code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;public class Main {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /**&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;@param args the command line arguments&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     */&lt;/P&gt;&lt;P&gt;    public static void main(String[] args) throws UnsupportedEncodingException {&lt;/P&gt;&lt;P&gt;        ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT Req = new ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT();&lt;/P&gt;&lt;P&gt;        Req.setCompanyCode(" ");&lt;/P&gt;&lt;P&gt;        Req.setCustomerNumber("00110");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        RespCustDetailsDT cdwsMI = cdwsMI(Req);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        System.out.println("Customer :" + cdwsMI.getCustomerNumber());&lt;/P&gt;&lt;P&gt;        System.out.println("Name     :" + cdwsMI.getName());&lt;/P&gt;&lt;P&gt;        System.out.println("Street   :" + cdwsMI.getStreet());&lt;/P&gt;&lt;P&gt;        System.out.println("Coutnry  :" + cdwsMI.getCountry());&lt;/P&gt;&lt;P&gt;        System.out.println("City     :" + cdwsMI.getCity());&lt;/P&gt;&lt;P&gt;        System.out.println("MSG Type :" + cdwsMI.getMessageType());&lt;/P&gt;&lt;P&gt;        System.out.println("Message  :" + cdwsMI.getReturnMessage());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    private static RespCustDetailsDT cdwsMI(ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT reqCustomerNoMT) {&lt;/P&gt;&lt;P&gt;        ph.co.amkor.atp.ppmodule.synch.CDWSMIService service = new ph.co.amkor.atp.ppmodule.synch.CDWSMIService();&lt;/P&gt;&lt;P&gt;        ph.co.amkor.atp.ppmodule.synch.CDWSMI port = service.getCDWSMIPort();&lt;/P&gt;&lt;P&gt;        return port.cdwsMI(reqCustomerNoMT);&lt;/P&gt;&lt;P&gt;    }    &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAP Netweaver Information&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Session Information&lt;/P&gt;&lt;P&gt;Application:&lt;/P&gt;&lt;P&gt;Design: Integration Builder&lt;/P&gt;&lt;P&gt;User:&lt;/P&gt;&lt;P&gt;aafri&lt;/P&gt;&lt;P&gt;Logon Language:&lt;/P&gt;&lt;P&gt;Korean&lt;/P&gt;&lt;P&gt;Server:&lt;/P&gt;&lt;P&gt;atpxisd01_XD1_01&lt;/P&gt;&lt;P&gt;Server Node:&lt;/P&gt;&lt;P&gt;server0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Environment&lt;/P&gt;&lt;P&gt;Java version:&lt;/P&gt;&lt;P&gt;1.4.2_12&lt;/P&gt;&lt;P&gt;Java vendor:&lt;/P&gt;&lt;P&gt;Sun Microsystems Inc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version&lt;/P&gt;&lt;P&gt;Service pack:&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;Release:&lt;/P&gt;&lt;P&gt;NW04S_12_REL&lt;/P&gt;&lt;P&gt;Latest change:&lt;/P&gt;&lt;P&gt;29423&lt;/P&gt;&lt;P&gt;Sync time:&lt;/P&gt;&lt;P&gt;${sync.time}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 02:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaq-p/7325018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T02:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325019#M2635871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to pass user name and password of PI  in JAVA Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 03:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325019#M2635871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T03:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325020#M2635872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BindingProvider prov = (BindingProvider) port;

        prov.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "username");
        prov.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "password");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 03:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325020#M2635872</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2010-09-24T03:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325021#M2635873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points were given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code you gave me worked. Thanks! but now I'm having another error below. It seems that it did not returned anything at all cause cdwsMI object is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;        at xiwebservice.Main.main(Main.java:31)&lt;/P&gt;&lt;P&gt;Java Result: 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Line were error happened:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;public class Main {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    /**&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;@param args the command line arguments&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     */&lt;/P&gt;&lt;P&gt;    public static void main(String[] args) throws UnsupportedEncodingException {&lt;/P&gt;&lt;P&gt;        ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT Req = new ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT();&lt;/P&gt;&lt;P&gt;        Req.setCompanyCode(" ");&lt;/P&gt;&lt;P&gt;        Req.setCustomerNumber("00110");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        RespCustDetailsDT cdwsMI = cdwsMI(Req);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;U&gt;+&lt;STRONG&gt;System.out.println("Customer :" + cdwsMI.getCustomerNumber());&lt;/STRONG&gt;+&lt;/U&gt;&lt;/P&gt;&lt;P&gt;        System.out.println("Name     :" + cdwsMI.getName());&lt;/P&gt;&lt;P&gt;        System.out.println("Street   :" + cdwsMI.getStreet());&lt;/P&gt;&lt;P&gt;        System.out.println("Coutnry  :" + cdwsMI.getCountry());&lt;/P&gt;&lt;P&gt;        System.out.println("City     :" + cdwsMI.getCity());&lt;/P&gt;&lt;P&gt;        System.out.println("MSG Type :" + cdwsMI.getMessageType());&lt;/P&gt;&lt;P&gt;        System.out.println("Message  :" + cdwsMI.getReturnMessage());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    private static RespCustDetailsDT cdwsMI(ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT reqCustomerNoMT) {&lt;/P&gt;&lt;P&gt;        ph.co.amkor.atp.ppmodule.synch.CDWSMIService service = new ph.co.amkor.atp.ppmodule.synch.CDWSMIService();&lt;/P&gt;&lt;P&gt;        ph.co.amkor.atp.ppmodule.synch.CDWSMI port = service.getCDWSMIPort();&lt;/P&gt;&lt;P&gt;        BindingProvider prov = (BindingProvider) port;&lt;/P&gt;&lt;P&gt;        prov.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "aafri");&lt;/P&gt;&lt;P&gt;        prov.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "betanew3");&lt;/P&gt;&lt;P&gt;        return port.cdwsMI(reqCustomerNoMT);&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 03:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325021#M2635873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T03:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325022#M2635874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John Wu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was successfully called when I've checked in communication channel monitoring and SXMB_MONI but I only see the request message but no response message. I believe this supposed to return a response since the setup is asynchronous. Alos noticed the the XML message it sent in SXMB_MONI message still has asynchronous stated and  not synchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes" ?&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;!--  Response &lt;/P&gt;&lt;P&gt;  --&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;SOAP:Header&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:MessageClass&amp;gt;ApplicationMessage&amp;lt;/SAP:MessageClass&amp;gt; &lt;/P&gt;&lt;P&gt;  &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;lt;SAP:ProcessingMode&amp;gt;asynchronous&amp;lt;/SAP:ProcessingMode&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:MessageId&amp;gt;05259730-C78D-11DF-9256-00144F6987BB&amp;lt;/SAP:MessageId&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;SAP:TimeSent&amp;gt;2010-09-24T03:37:13Z&amp;lt;/SAP:TimeSent&amp;gt; &lt;/P&gt;&lt;P&gt;+ &amp;lt;SAP:Sender&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 03:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325022#M2635874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T03:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325023#M2635875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;but I only see the request message but no response message. I believe this supposed to return a response since the setup 
is asynchronous.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You will get a response only when the setup is &lt;STRONG&gt;SYNCHRONOUS&lt;/STRONG&gt; and not Asynchronous.....is your above statement a typo?&lt;/P&gt;&lt;P&gt;What have you selected as Quality of service in the SOAP Channel....it should be Best Effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 04:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325023#M2635875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T04:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325024#M2635876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it was just a typo error. I setup synchronous Message Interface in Integration Builder: Design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 04:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325024#M2635876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T04:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325025#M2635877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;I setup synchronous Message Interface in Integration Builder: Design.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is fine....but what about the quality of service option in Sender SOAP Channel? Have you set it as Best Effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said that that the request is reaching SAP....now can you confirm for SAP developer that SAP is able to process this request and also to generate the response?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you using on the SAP side...PROXY/ RFC? I hope that it is configured to work in SYNC mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 04:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325025#M2635877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T04:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325026#M2635878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using RFC on SAP side specifically BAPI_CUSTOMER_GETDETAIL2. Setup is SOAP -&amp;gt; RFC. I already changed it just recently to Best Effort now I am having error in channel saying "error occured" after "request recieved" logs. Also below is the message returned by JAVA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error message in Java:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Server Error
        at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
        at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
        at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
        at $Proxy28.cdwsMI(Unknown Source)
        at xiwebservice.Main.cdwsMI(Main.java:47)
        at xiwebservice.Main.main(Main.java:29)
Java Result: 1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 05:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325026#M2635878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T05:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325027#M2635879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that you have created all the required objects in SAP PI?&lt;/P&gt;&lt;P&gt;Did you confirm the working of request in SAP system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 05:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325027#M2635879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T05:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325028#M2635880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I just followed this steps. I created message mapping for the request and response part and assigned both in the Interface message both in response and request part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 05:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325028#M2635880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T05:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325029#M2635881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It already worked when I use Exactly once option but problem is no response message received and no I've changed it to Best Effort it is now having error saying error occurred in channel monitoring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 05:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325029#M2635881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T05:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325030#M2635882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;provide details about each object that you have created in IR and ID of SAP XI/ PI for this interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a simple scenario...feel that you have missed some configuration somewhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 05:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325030#M2635882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T05:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325031#M2635883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the objects I've created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Type:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ReqCustomerNo_DT&lt;/P&gt;&lt;P&gt;RespCustDetails_DT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message Type:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ReqCustomerNo_MT -&amp;gt; using ReqCustomerNo_DT (Data Type)&lt;/P&gt;&lt;P&gt;RespCustDetails_MT -&amp;gt; using ReqCustomerNo_DT (RespCustDetails_DT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message Interface:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CDWS_MI -&amp;gt; synchronous/Outbound&lt;/P&gt;&lt;P&gt;        Output Message : ReqCustomerNo_MT -&amp;gt; using ReqCustomerNo_DT (Data Type)&lt;/P&gt;&lt;P&gt;           Input Message : RespCustDetails_MT -&amp;gt; using ReqCustomerNo_DT (RespCustDetails_DT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message Mapping:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Request_MM -&amp;gt; mapped ReqCustomerNo_MT with BAPI_CUSTOMER_GETDETAIL2(RFC)&lt;/P&gt;&lt;P&gt;Response_MM - mapped BAPI_CUSTOMER_GETDETAIL2.response (RFC) with RespCustDetails_MT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interface Mapping:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CDWS_IM:&lt;/P&gt;&lt;P&gt;          Source Interface -&amp;gt; CDWS_MI&lt;/P&gt;&lt;P&gt;          Target Interface -&amp;gt;  BAPI_CUSTOMER_GETDETAIL2&lt;/P&gt;&lt;P&gt;          Messages:&lt;/P&gt;&lt;P&gt;                Request: Mapping Program -&amp;gt; Request_MM&lt;/P&gt;&lt;P&gt;                   Source Message: ReqCustomerNo_MT&lt;/P&gt;&lt;P&gt;                   Target Message: BAPI_CUSTOMER_GETDETAIL2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                Response: Mapping Program -&amp;gt; Response_MM&lt;/P&gt;&lt;P&gt;                   Source Message: BAPI_CUSTOMER_GETDETAIL2.Response&lt;/P&gt;&lt;P&gt;                   Target Message: RespCustDetails_MT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:09:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325031#M2635883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T06:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325032#M2635884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the objects created in ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sender Agreement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Service: ZBSBACKEND&lt;/P&gt;&lt;P&gt;Interface: CDWS_MI&lt;/P&gt;&lt;P&gt;Interface Namespace: &lt;A href="http://atp.amkor.co.ph/ppmodule/synch" target="test_blank"&gt;http://atp.amkor.co.ph/ppmodule/synch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Receiver Determination:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Service: ZBSBACKEND&lt;/P&gt;&lt;P&gt;Interface: CDWS_MI&lt;/P&gt;&lt;P&gt;Interface Namespace: &lt;A href="http://atp.amkor.co.ph/ppmodule/synch" target="test_blank"&gt;http://atp.amkor.co.ph/ppmodule/synch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Configured Receivers: ZBSBACKEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interface Determination:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Inbound Interface : BAPI_CUSTOMER_GETDETAIL2&lt;/P&gt;&lt;P&gt;Interface Mapping : CDWS_IM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Receiver Agreement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sender&lt;/P&gt;&lt;P&gt;    Service: ZBSBACKEND&lt;/P&gt;&lt;P&gt;Receiver&lt;/P&gt;&lt;P&gt;    Service: ZBSBACKEND&lt;/P&gt;&lt;P&gt;    Interface: BAPI_CUSTOMER_GETDETAIL2&lt;/P&gt;&lt;P&gt;    Interface namespace: urn:sap-com:document:sap:rfc:functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325032#M2635884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T06:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325033#M2635885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;ZBSBACKEND&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Why are you using the above &lt;STRONG&gt;Business System&lt;/STRONG&gt; both as sender and receiver? The Business System ZBSBACKEND, would represent the SAP ECC system and you normally define a Business Service for the sender (in your case).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325033#M2635885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T06:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325034#M2635886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just followed this steps on this site -&amp;gt; [http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-i/technology/sap/6/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I did all that it said right but still having error during testing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325034#M2635886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T06:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325035#M2635887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need to define the soap channel on a different business system? I still don't know how to set another business system for JAVA. Can you show me how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 07:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325035#M2635887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T07:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325036#M2635888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its just fine to use same Business system as stated in this forum. Someone said this below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"As mentioned above there is no need to create a Business System for entities outside your SLD boundaries.&lt;/P&gt;&lt;P&gt;You can create a Party in the ID, under that, create a Business Service for your SOAP Sender.&lt;/P&gt;&lt;P&gt;Under that Business Service you can define your SOAP Sender Communication Channel."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1338900"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 07:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325036#M2635888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T07:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problems calling SOAP in JAVA program</title>
      <link>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325037#M2635889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A Business System is required when you have to exchange message between SAP PI and SAP ECC system.&lt;/P&gt;&lt;P&gt;In your case JAVA application surely is not a SAP ECC system.....so you need to have a Business Service for it....assign the Source Message Interface (for SOAP) to this Business Service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 07:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problems-calling-soap-in-java-program/qaa-p/7325037#M2635889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T07:44:48Z</dc:date>
    </item>
  </channel>
</rss>

