Consuming WebService SAP (J2EE)

I´m working with Delphi 2007 for Win32 Enterprise and I´m using Delphi to make a client to consuming one SAP (J2EE) WebService, but, there is a problem with my Delphi´s client. The SAP show one error:
001B784233A4004A000000030000195400043C12D73325C4 : Found 0 operation definitions using keys: Key name:'first-body-element-ns' key value:'urn:WS_SGVTesteWsd/WS_SGVTesteVi/document'; Key name:'SoapRequestWrapper' key value:'chamadaDevolucao';
PS: I made a Java Client that work very well.

Hi Christoph,
let me summarize:
You don't want to consume an external Webservice with B1if as I assumed first.
Your plan is to consume a Webservice - provided by B1if -  with an external PHP based program (such a scenario is described in this youtube video).
So as prerequisite you followed the guidance by Yatsea and did the following:
You created a scenario in B1if using Web Service Inbound, and defined an output in atom0.
You created a test inbound file and tested the scenario in the integration flow
(existing testfile and successful test run is prerequisite to genrate XSD).
You activated the scenario in the setup.
You created a XSD and a WSDL via the B1if Scenario setup.
You used the self-created WSDL for your test with the external program
The Webservices provided by B1if are per default in SOAP format, so you need to handover the following structure:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
   <root>
  </root>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The service method is identified by the root tag of SOAP Request.
Did you already try to consume the B1if Web Service via WFetch or SOAP UI successfully or do you have the same problems as with your PHP application?
Do you have your generated WSDL available?
Best regards
Bastian

Similar Messages

  • Consuming Webservice(SAP B1if) by PHP SOAP

    Hi all,
    im newbie in B1if, is this possible consuming Webservice by PHP SOAP.  i didnt find any Document or Example for consuming Webservice by PHP. just from Yatsea Li "Consuming B1if Web Services by DotNet". i created webservice just like Yatsea Li did.   I am really just trying to find out how to consuming a webservice by php. Can any one point me in the direction of some usable documentation or example  for it?
    Kind regards,
    Christoph

    Hi Christoph,
    let me summarize:
    You don't want to consume an external Webservice with B1if as I assumed first.
    Your plan is to consume a Webservice - provided by B1if -  with an external PHP based program (such a scenario is described in this youtube video).
    So as prerequisite you followed the guidance by Yatsea and did the following:
    You created a scenario in B1if using Web Service Inbound, and defined an output in atom0.
    You created a test inbound file and tested the scenario in the integration flow
    (existing testfile and successful test run is prerequisite to genrate XSD).
    You activated the scenario in the setup.
    You created a XSD and a WSDL via the B1if Scenario setup.
    You used the self-created WSDL for your test with the external program
    The Webservices provided by B1if are per default in SOAP format, so you need to handover the following structure:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Body>
       <root>
      </root>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The service method is identified by the root tag of SOAP Request.
    Did you already try to consume the B1if Web Service via WFetch or SOAP UI successfully or do you have the same problems as with your PHP application?
    Do you have your generated WSDL available?
    Best regards
    Bastian

  • How to call XI exposed webservice from J2ee

    How to call XI exposed webservice from J2EE , and how to pass UserID and Password to it.

    hi sapuser,
    i do not know on which j2ee stack you currently run. Description Link comes from CE:
    // consuming webservices in j2ee
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/a95353005d371ae10000000a11466f/content.htm
    // user & password
    configure the client in the nwa by changing logical port settings:
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/a86ac5f9ee371ce10000000a11466f/content.htm
    Regards, Jens

  • Error in Consuming webservice proxy in SAP

    Hi,
    I have a webservice which I am not able to consume in SAP. I get an error 'Cannot generate Proxy (object <attribute name="arrayType"> missing in WSDL, see long text').
    When i tried to search in SDN, I found a post which says that SAP doesnt support soapenc:Array types and it can be converted to corresponding Sequence. I went through the help link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/ce993b45cb0a85e10000000a1553f6/frameset.htm
    which has a link which shows an example.
    Accordingly, I have changed mine from:
    - <schema targetNamespace="https://tserver.perfectcompliance.com/4DSOAP/LLX_Guardian" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="ArrayOfstring" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <complexContent>
    - <restriction base="SOAP-ENC:Array">
      <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]" />
      </restriction>
      </complexContent>
      </complexType>
      </schema>
    To:
    - <schema targetNamespace="https://tserver.perfectcompliance.com/4DSOAP/LLX_Guardian" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="ArrayOfstring">
    - <sequence>
      <element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
      </sequence>
      </complexType>
      </schema>
    After doing the above changes, I am able to consume webservice and create a proxy but it's not working. When i execute any method which is using the Arrayofstring, it gives me an error:
    Complex Types cannot be parsed.
    Is my above change in XML wrong. Do I need to do any other changes.
    Regards,
    Nikhil

    Anyone has any idea on how to solve this issue?

  • Consuming Webservice in ABAP: SoapFaultCode:1

    Hi,
    I have created a webservice with NetweaverDeveloperStudio and deployed it to a J2EE. I tested it with the "NDS-Webservice-Tester" and it worked fine.
    I then created a proxy following the section for WebAS 640 in the weblog of Thomas Jung:
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    When using the "test-interface" function in SE80 (also described in Thomas weblog) I get the following result:
    <CX_AI_SYSTEM_FAULT>
    <CODECONTEXT>http://www.sap.com/xml_errorcodes</CODECONTEXT>
    <CODE>SoapFaultCode:1</CODE>
    <ERRORTEXT>
    000D6019F1DD004000000036000020D8000405473991B26F:
    Found 0 operation definitions using keys:
    Key name:'first-body-element-ns'
    key value: 'urn:EdilogUserManagementWebserviceWsd/EdilogUserManagementWebserviceVi/document';
    Key name:'SoapRequestWrapper'
    key value:'getCompany';
    </ERRORTEXT>
    <LANGUAGE />
    </CX_AI_SYSTEM_FAULT>
    Any idea what might cause this error? Is there a list with the SoapErrorCodes and their specific meanings?
    Thanks and regards
    Jan Hempel

    I solved the problem "accidentally": The name of the Webservice was to long! Changing the name from "EdilogUserManagementWebservice" to "UserManagement" did the trick.
    This is probably due to the restricted fieldlength of ABAP-programnames.
    Regards
    Jan Hempel

  • Deployment of Webservice in J2EE Engine.

    Hi All:
    I am created a webservice and want to deploy it in SAP J2EE engine. But when I am trying it I am getting below Error Message:
    /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
    I also checked the SAP J2EE parameters in NWDS and its perfect:
    Preference>SAP J2EE Engine>
    Message Server Host : given host name
    Message Server Port : 3900 (Even I tried 3600). I am not sure but I think 3900 is a default port for it??
    If some one face the same problem and solved it please share it with me...
    When Webservice receive the SOAP message from XI= XI is exploring or consuming it..i am confused on this:)
    Thanks & Regards,
    Farooq Farooqui.

    you can ask ur basis guy about the same or else if u have access to sap management console u can check it out urself.
    steps;
    sap mmc -- > goto ur server instance list in left frame
                    --> goto process list
                       --> in the right frame right click on msg-server.exe select developer trace.
    in that trace  ull find a statement like
    I listen to internal port  xxxx*** where xxxx is ur port.
    regards
    fariha
    reward if useful

  • Getting error while consuming webservices

    Hi Colleagues,
    In our application we are calling External webservice through WSDL file. I have deployed the WSDL files on server and get the WSDL URL using "WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(), "file.wsdl")". I am able to call the service from WS Navigator.
    I have consumed webservices uisng Adaptive webservice model and given the service group configuration ,created a provider system, assigned the provider system to the application through SOA Management-->Application Communication
    Now when i tried to run the webdynpro application i am getting following error
    Could anyone please let me know how to overcome this?
    Exception i am facing is given here:
    com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: BORM_SWDC_API_SLM_SP_GET_DLPortType using destination : dwd.SystemHome.50000
        at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:198)
        at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1448)
        at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:1025)
        at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:578)
        at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:338)
        ... 76 more
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for web service mass config parameters service reference ID 'BORM_SWDC_API_SLM_SP_GET_DLPortType_service_sap_com_BASIC' and application name 'demo.sap.com/softcomp'. Check mass configuration has been done properly.
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:522)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:435)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:403)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:381)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateModelInfo(WSModelInfo.java:317)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateModelInfo(WSModelInfo.java:292)
      at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:68)
      at com.sap.demo.softcomp.model2.Model2.<init>(Model2.java:63)
      at com.sap.demo.softcomp.softcomp.comp.SoftcompComp.wdDoInit(SoftcompComp.java:127)
      at com.sap.demo.softcomp.softcomp.comp.wdp.InternalSoftcompComp.wdDoInit(InternalSoftcompComp.java:266)
      at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
      at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
      at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:253)
      at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:553)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1338)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:146)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:74)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:571)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:602)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:252)
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:677)
      ... 48 more
    Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: BORM_SWDC_API_SLM_SP_GET_DLPortType using destination : dwd.SystemHome.50000
      at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1459)
      at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:1025)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:578)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:338)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:321)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:282)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:514)
      ... 73 more
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: BORM_SWDC_API_SLM_SP_GET_DLPortType using destination : dwd.SystemHome.50000
      at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:198)
    Please let me know how to overcome this?
    Thanks in Advance
    Regards
    Swetha

    Hi Swetha,
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for web service mass config parameters service reference ID 'BORM_SWDC_API_SLM_SP_GET_DLPortType_service_sap_com_BASIC' and application name 'demo.sap.com/softcomp'. Check mass configuration has been done properly.
    some configurations for consuming services using service group is missed out.
    check this article for consuming service :
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46]
    Thanks and Regards

  • Consuming Webservice in WebDynpro - Content-Type issue

    Hi,
    I am getting a shortdump when consuming WebService in WebDynpro.
    I trace it back to the class CL_SOAP_HTTP_TPBND_ROOT method GET_HTTP_HEADERS whereby the
    value = 'text/html; charset=iso-8859-1' while the constants tsrc_soap_11_http_content_type = 'text/xml' ; tsrc_soap_bx_http_content_type = 'application/x-sap-bxml' ; tsrc_soap_mtom_http_cont_type = 'application/xop+xml' ; tsrc_soap_mp_http_content_type = 'Multipart/Related'. Because of this Content-Type difference my WebDynpro application dumps?
    Any ideas how to solve this problem?
    Thanks.
    Regards,
    Amel

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • Consuming webservice in a webdynpro component

    Hi Experts,
    I have a third party free webservice as WSDL link.My requirement is to make use of that webservice in my webdynpro component.
    Can any body give me a step by step approach to consume that webservice in my webdynpro Component.
    If possible, Provide me some good material for consuming webservice in a webdynpro component.
    Awaiting for a useful reply.
    Thanks,
    Ramanan.p

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • Exception error: While consuming webservice

    While trying to consume webservice from other server. We get the following error
    "I/O Exception: Name in certificate 'URL' does not match host name 'URL'
    The code works fine in development environment. Whereas, when we are trying to consume with/without the port number as 443 using cfhttp method. It is throwing the above error.
    Environment :
    Coldfusion 8
    SQL Server 2005
    Which we are consuming is :
    Java/J2EE.
    Can you please help us? If you require any other details kindly let me know.
    Thanks,
    Satheesh.

    Try setting the resultFormat on your HTTPService to e4x.
    HTH;
    Amy

  • SAP J2EE Engine : does not work !!!

    Hi everyone,
    I have installed SAP NW2004s Java SP9 Trial (on Windows XP and Sapdb as database). The installation finished without problems.
    But when I start my SAP system, the SAP J2EE engine (process <b>jcontrol</b>) is still stopped
    [... I have already searched in the forum, but I have not found a solution to my problem ...]
    Here is the contents of files <b>dev_jcontrol</b> & <b>dev_sdm</b> :
    File <b>dev_jcontrol</b> : *************************************
    trc file: "D:\usr\sap\J2E\JC01\work\dev_jcontrol", trc level: 1, release: "700"
    node name   : jcontrol
    pid         : 1384
    system name : J2E
    system nr.  : 01
    started at  : Mon Dec 03 15:23:56 2007
    arguments       :
           arg[00] : D:\usr\sap\J2E\JC01\exe\jcontrol.EXE
           arg[01] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_ahassaine
    [Thr 2356] Mon Dec 03 15:23:56 2007
    [Thr 2356] *** <b>ERROR => Can't open property file [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties] [jstartxx.c   725]
    [Thr 2356] *** ERROR => Can't open property file [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties] </b>[jstartxx.c   1952]
    [Thr 2356] *** ERROR => JStartupReadArgumentsEx: can't enumerate nodes [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties;D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties] (rc = -1) [jstartxx.c   524]
    File <b>dev_sdm</b> : *************************************
    trc file: "D:\usr\sap\J2E\JC01\work\dev_sdm", trc level: 1, release: "700"
    node name   : sdm
    pid         : 1360
    system name : J2E
    system nr.  : 01
    started at  : Fri Nov 30 10:38:29 2007
    arguments       :
           arg[00] : D:\usr\sap\J2E\JC01\exe\jlaunch.exe
           arg[01] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_ahassaine
           arg[02] : -DSAPINFO=J2E_01_sdm
           arg[03] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_ahassaine
    JStartupReadInstanceProperties: read instance properties [D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties]
    -> ms host    : ahassaine
    -> ms port    : 3900
    -> OS libs    : D:\usr\sap\J2E\JC01\exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties
    Instance properties
    -> ms host    : ahassaine
    -> ms port    : 3900
    -> os libs    : D:\usr\sap\J2E\JC01\exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] sdm                  : D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties
    [Thr 3544] Fri Nov 30 10:38:29 2007
    [Thr 3544] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 3544] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 2240] JLaunchRequestFunc: Thread 2240 started as listener thread for np messages.
    [Thr 3352] WaitSyncSemThread: Thread 3352 started as semaphore monitor thread.
    [Thr 3544] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 3544] CPIC (version=700.2005.12.02)
    [Thr 3544] INFO: Invalid property value [Debbugable=yes]
    [Thr 3544] [Node: SDM] java home is set by profile parameter
         Java Home: C:\Java\
    [Thr 3544] <b>JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\J2E\JC01\exe\jvmx.jar</b>
    JStartupIReadSection: read node properties [sdm]
    -> node name          : SDM
    -> node type          : sdm
    -> node execute       : yes
    -> java path          : C:\Java\
    -> java parameters    :
    -> java vm version    : 1.4.2_09-b05
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 512M
    -> root path          : D:\usr\sap\J2E\JC01\SDM\program
    -> class path         : D:\usr\sap\J2E\JC01\SDM\program\bin\SDM.jar
    -> OS libs path       : D:\usr\sap\J2E\JC01\exe
    -> main class         : SDMInternal
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\J2E\JC01\exe\jstartup.jar;D:\usr\sap\J2E\JC01\exe\jvmx.jar
    -> shutdown class     : com.sap.sdm.jstartup.shutdown.InternalShutDown
    -> parameters         : server sdmhome=D:\usr\sap\J2E\JC01\SDM\program
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 50000
    -> shutdown timeout   : 120000
    [Thr 3544] JLaunchISetDebugMode: set debug mode [no]
    [Thr 2480] JLaunchIStartFunc: Thread 2480 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [SDM]
    -> stack   : 262144 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -Dsys.global.dir=D:\usr\sap\J2E\SYS\global
    -> arg[  4]: -Dapplication.home=D:\usr\sap\J2E\JC01\exe
    -> arg[  5]: -Djava.class.path=D:\usr\sap\J2E\JC01\exe\jstartup.jar;D:\usr\sap\J2E\JC01\exe\jvmx.jar;D:\usr\sap\J2E\JC01\SDM\program\bin\SDM.jar
    -> arg[  6]: -Djava.library.path=C:\Java
    jre\bin\server;C:\Java
    jre\bin;C:\Java
    bin;D:\usr\sap\J2E\JC01\exe;d:\sapdb\programs\bin;d:\sapdb\programs\pgm;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;D:\usr\sap\J2E\SYS\exe\uc\NTI386
    -> arg[  7]: -Dmemory.manager=512M
    -> arg[  8]: -Xmx512M
    -> arg[  9]: -DLoadBalanceRestricted=no
    -> arg[ 10]: -Djstartup.mode=JCONTROL
    -> arg[ 11]: -Djstartup.ownProcessId=1360
    -> arg[ 12]: -Djstartup.ownHardwareId=G1610100576
    -> arg[ 13]: -Djstartup.whoami=sdm
    -> arg[ 14]: -Djstartup.debuggable=yes
    -> arg[ 15]: -DSAPINFO=J2E_01_sdm
    -> arg[ 16]: -DSAPSTARTUP=1
    -> arg[ 17]: -DSAPSYSTEM=01
    -> arg[ 18]: -DSAPSYSTEMNAME=J2E
    -> arg[ 19]: -DSAPMYNAME=ahassaine_J2E_01
    -> arg[ 20]: -DSAPDBHOST=ahassaine
    -> arg[ 21]: -Dj2ee.dbhost=ahassaine
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    [Thr 2480] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [SDM]
    -> arg[  0]: server
    -> arg[  1]: sdmhome=D:\usr\sap\J2E\JC01\SDM\program
    [Thr 2240] Fri Nov 30 10:38:33 2007
    [Thr 2240] JLaunchRequestFunc: receive command:17, argument:0 from pid:2600
    [Thr 2240] JLaunchIShutdownInvoke: set shutdown interval (stop:1196419113/end:1196419233/TO:120)
    [Thr 2240] JLaunchProcessCommand: Invoke VM Shutdown
    [Thr 2240] JHVM_FrameworkShutdownDirect: invoke direct shutdown
    [Thr 2240] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 2240] JLaunchISetState: change state from [Initial (0)] to [Stopping (5)]
    [Thr 640] Fri Nov 30 10:38:34 2007
    [Thr 640] JLaunchIExitJava: exit hook is called (rc = 0)
    [Thr 640] JLaunchCloseProgram: good bye (exitcode = 0)
    Thank you very much in advance for your help.
    Hassan

    Hi!
    If instance.properties is not there your installation has not finished correctly. This file is the central point of information for the bootstrap, which retrieves the info on how to connect to the database to collect the infos for the system startup (which will then overwrite your instance.properties file with the most recent values from the DB).
    Please check if instance.properties has been deleted and can maybe be restored from tape or if there was an error in the installation.
    Regards,
    Jörg

  • Unable to add custom SOAP header to consumer webservice in CRM( without using PI)

    Hello Experts,
    We have a requirement to consume webservice proxy in CRM without involving PI. We have WSDL file which has many services as depicted in the first screenshot.After checking old posts, I could add custom SOAP header by using if_wsprotocol_ws_header and there is no xml parsing error for ws_header.Have used if_ixml_stream_factory to check xml parsing error for header.
    '<soapenv:Header>'
    '<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
    '<wsse:UsernameToken wsu:Id="UsernameToken-2">'
                '<wsse:Username>user id</wsse:Username>'
                '<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">paswd</wsse:Password>'
                '<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MT0B9XFzsZJXXKmVKOsj/Q==</wsse:Nonce>'
                '<wsu:Created>2015-03-30T06:29:17.407Z</wsu:Created>'
    '</wsse:UsernameToken>'
    '</wsse:Security>'
    '</soapenv:Header>' INTO l_string.
    But when my ABAP program as a whole gets executed where consumer proxy is called, then it still throws XML parsing error - undeclared namespace prefix. As mentioned, there is no parsing error for header and WSDL file as a whole in SOAP UI tool works fine,by manually adding SOAP header.
    Have configured SOAMANAGER with logical port.Or any wrong setting in SOAMANAGER can cause this issue? When I tested webservice ping, it gave me attached error but I read in a SAP note that such error can be ignored.
    I want to know if some more setting/coding is required if we manually add custom header to a payload? Is PI really required to implement this requirement? Payload mapping has to be done to add custom header and if that can be taken care by ABAP coding and how?
    Can you please help?
    BR,
    Nisha Verma

    Hello Experts,
    I have not found the solution yet.
    Can anyone provide some insight??
    BR,
    Nisha Verma

  • Running ssl client from multiple applications fails in Sap j2ee engine

    There are two applications making ssl connections to third party.
    At a time only one application is able to make connection while other
    throws error message <b>"No trusted certificate found".</b>
    Currently we have  two j2ee applications running in SAP j2ee server. Both applications makes ssl connection to third party servers. Lets call first application as A1 and second application as A2.
    A1 is an internet shopping application . It makes ssl connection to third party services at two places . One is while fetching the shipping charges from UPS site.
    Code Snippet:
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.getProperties().put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    String lo_url = new URL("https://wwwcie.ups.com/ups.app/xml/Rate");
    lo_connection = (URLConnection) lo_url.openConnection();
    At other place A1 connects to cybersource service using webservice +ssl  for credit card authentication using cybersource API. It uses certificate in p12 format.
    Code Snippet:
    com.cybersource.ws.client.axis.soap.RequestMessage lo_requestMessage = new  com.cybersource.ws.client.axis.soap.RequestMessage();
    Properties lo_cybsProperties = new Properties();
    lo_cybsProperties.setProperty("merchantId","arvato");
    lo_cybsProperties.setProperty("merchantRefCode","1234")
    lo_requestMessage.setMerchantID( "arvato");
    lo_requestMessage.setMerchantReferenceCode( "1234" );
    lo_cybsProperties.setProperty("cybersourceURL","https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor");
    lo_cybsProperties.setProperty("keysDir", "./WEB-INF/config");     
    lo_requestMessage.setBillTo(setBillToAddress(po_mdsBillingAddress) );
    // add ship to address
    lo_requestMessage.setShipTo(setShipToAddress(po_mdsShiToAddress));
    lo_requestMessage.setPurchaseTotals( setPurchaseTotal() );
    //set cc details
    lo_requestMessage.setCard( setCardDetails(po_mdsCreditCard) );
    Set Items and total tax calculation
    lo_replyMessage = com.cybersource.ws.client.axis.soap.Client.runTransaction( lo_requestMessage, lo_cybsProperties );
    A2 Application
    This application connects to Motorola secured web service to fetch details of mobile hand set. It uses keystore to create ssl connection with Motorola webservice.
    Code Snippet
    try {
    TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
              return new java.security.cert.X509Certificate[0];
         public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) {}
    public void checkServerTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    } catch (Exception e) {
    e.printStackTrace();
    System.setProperty("javax.net.ssl.trustStore","SapWSM.keystore");
    System.setProperty("javax.net.ssl.trustStorePassword","xxxx");
    System.setProperty("javax.net.ssl.keyStore","SapWSM.keystore");
    System.setProperty("javax.net.ssl.keyStorePassword","xxxx");
    Problem Cases :
    Case 1
    Step 1 : Server starts
    Step 2 : User access A1 first
    Step3: A1 Connects to UPS using https (It is able to connect)
    Step4: A1 connects to cybersource using webservice+ssl  (It is able to connect)
    Step 5: Another user access A2
    Step6: A2 tries connection to Motorola webservice over ssl
    Result connectivity fails with description "No trusted certificate found".
    Case2
    Step 1 : Server starts
    Step 2 : User access A2 first
    Step3:  A2 tries connection to Motorola webservice over ssl (It is able to connect)
    Step 5: Another user access A1
    Step6: A1 connects to cybersource using webservice+ssl 
    Result connectivity fails with description "No trusted certificate found".
    Case3
    Step 1 : Server starts
    Step 2 : User access A2 first
    Step3:  A2 tries connection to Motorola webservice over ssl (It is able to connect)
    Step 5: Another user access A1
    Step6: A1 connects to  UPS using ssl
    Result connectivity fails with description "No trusted certificate found".

    Hi Please answer my query it is really <b>
    urgen
    t</b> and we are not able to run both the applications in same server

  • Invalid WSDL while consuming webservice

    Hi ,
    I have done with soap to proxy interface  in PI7.1 EHP1,
    Now i am trying to publish the sender agrement to service registry i am facing the issue as
    Service Registry configuration issue
    because of this i have created wsdl file from display wsdl tool  in directory using the
    http://<host>:<J2EEport>/XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>
    and now  i tryed tested this wsdl file by using soapui its working fine.
    the same wsdl when i am using in creating a webdynpro applicaiton to consume this wsdl file i am getting as invalid wsdl file.
    i have followed the link to create a consume webservice
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/
    Kindly suggest me is there any new way to create wsdl in 7.11 as i see old version 7.0 wsdl are wroking fine while creating a model in webdynpro application.
    Regards
    Vijay G
    Edited by: vijay Kumar on Jun 9, 2010 1:31 PM

    Hi,
    Since you are using PI 7.1, you need not to define the websierce by using wizard in the integration directroy.
    In PI 7.1 it is not required to manually formulate your sender SOAP URL, generated WSDL contains all the required information.
    Directly Go to Integration Directory - - - -> Sender Agreement - - - > Display WSDL
    This would help you:
    http://www.riyaz.net/blog/pi-71-publishing-service-interface-as-a-webservice-in-sr/technology/sap/527/
    Regards,
    Abid Mazhar

  • Can any one help me giving sample application of consuming webservices

    Hello friends,
    I am doing struts application, where we consume webservice for validating the data I want sample application in calling webservice's. can anyone help me

    Thanks Markus for the Confirmation.
    Just need one more confirmation on the below one aswell
    I applied a Patch to my Development Meachine , But Later the User requested saying that He dont want that Perticular Basis Patch Installed, So Can we Uninstall / Revoke / Delete the Installed Basis / HR Patch on the SAP Server ?.
    If we can kindly Let me know how to Proceed in Revoking the Patch.
    Thanks
    Dan

Maybe you are looking for

  • How to search char in a string

    hi, i am new to JSP. i have a string, for example an address "Frauenstrasse 10", i want to split it into street name "Frauenstrasse" and house number "10". but i don't know the syntax to process String. can anyone help? thanks!

  • CLOB / Charset / Java / Unix Issue

    Hi, I'm encountering the following problem. I'm working on a 3-tiers architecture with an Oracle Database (8.1.7) a Weblogic application server 6.1 SP4 and a Web server under Aix 4.3 (all 3 are under AIX 4.3 on the same platform). My application has

  • Change log in Inspection method

    Hi, I have a requirement for tracking status changes in QS32. When I try to use the change history I can't see the statuses in the inspection method. Is it possible to extend the change history to include this or is there any other way to solve this?

  • Backup and Data Migration Questions????

    Sorry for the multiple post, posted to fast and placed in wrong post.... But anyway... I am considering getting the Droid X (Android 2.1) and I will be changing over from a Imagio (WM 6.5) and since I am new to the whole Android OS, I was wondering w

  • Dropship_PO Receipt & AR Invoice in back date

    The Business requirement is The OU gets the Bill of Lading/Air Way Bill document offline after some time let's say within 10 days of actual Bill of Lading/Airway Bill Date. We are executing Dropshipment process. The PO receipt to be done on back date


HashFlare