"PreDefined" Webservices...

In My Dev System there are some build in "PreDefined" webservices listed... For example
Shipping service integration - Service 1:      https://myXXXXXX.vlab.sapbydesign.com:443/sap/bc/srt/scs/sap/outbounddeliveryactionin
however I can not seem to access these in any way...
I have set the Credentials and set the password on them and when Accessing it it will not authenticate with that data am I missing something here

Your
Service 1: https://myXXXXXX.vlab.sapbydesign.com:443/sap/bc/srt/scs/sap/outbounddeliveryactionin
looks like a Service Integration and you speak from Web Services. These are different things !
For Webservices i use the external  tool "soapUI 3.6.1" !

Similar Messages

  • BAM webservice call from ALBPM process

    I want to call webservice at the start of the manual activity say A in ALBPM process to insert data in bam data object.I am using bam11g predefined webservice.I am able to call the web service from java client to insert data to the BAM data object.but when i invoke webservice in ALBPM process,it generates three insert operation name as insert(),insert(name:"",attribute:"") and insert(XMLObject) but incase of java client it is showing insert(name,xmlobject).if u have any suggestion please provide.

    Hi All,
    I am also having the same problem.
    Some one PLEASE HELP, its very urgent.
    Thanks,

  • Error while transporting webservice datasources

    Hi all,
    I have created webservice datasources to fetch EP data to BW. and now i am transporting that Datasources from DEV to QA. I have colllected datasources alone in one req. (source system i have created in QA manually and i mapped that with DEV)
    But while transporting i am getting the folllowing error,
    3S3T   Start of the after-import method RS_RSDS_AFTER_IMPORT for object type(s) RSDS (Activation Mode)  
    Error  Screen output without connection to user .                                                                               
    Error when activating DataSource ZANS_MASTER BI7001                                                                               
    Please through some light is there any predefined settings i need to do in QA system?.
    Thanks in advance,
    V.Sen

    Dear All,
    Thanks for your kind reply.
    There are no R/3 Datasources involved. Our BI Cockpit landscape is based upon only BI system. No data transfer to take place between R/3 and BI.
    Secondly, you mean to say that I need to replicate my Source system in Production and then proceed with the transporting of the requests from Dev to Prod.
    But I never did the same in Quality while transporting from Dev. Is it that it might have been done in Quality beforehand by someone ?
    Also, when the Datasources have not been transported to Production (resulting in error) then how can i replicate these datasources in Production ???
    Let me know if I have not understood correctly.
    Many thanks again for your efforts.
    /Shalabh

  • Access KM predefined property values from a Web Dynpro application

    Hi,
    I am trying to build a custom search interface in Web Dynpro which leverages the KMC Indexing and Search services.
    In this interface I would like to display value lists of predefined properties in KM (created using the Property Metadata Service) and bind each predefined property's value list to a checkbox group UI element.
    Which KM API should I use to retrieve the values of a specific predefined property ?
    When using the standard flexible user interface in the portal this can easily be achieved through configuration, but now I would like to know how to achieve this in Java code.
    Thanks in advance for your input.
    I have some idea on how to get the propertymap from a resource, but how can I access the metadata of a predefined property in KM directly ?

    Hi Theo, i'm working on something like this, i have a WD application that is accessing Km through a Webservice, on the webservice ejb i have this problem:
    IResourceFactory resFactory = ResourceFactory.getInstance();
    IRepositoryServiceFactory serFactory = resFactory.getServiceFactory();
    IPropertyConfigurationService propConfigService = (IPropertyConfigurationService) serFactory.getService("PropertyConfigurationService");
    IMetaNameListIterator i = propConfigService.getMetaModel().nameIterator();
         while (i.hasNext()) {
         IMetaName metaname = i.next();
         if ( metaname.getDocumentPatterns()!= null){
         propertyData.setId(metaname.getName());
         propertyData.setName(metaname.getLabel(locale));
         propertyData.setNamespace(metaname.getNamespace());
         propertyData.setDescription(metaname.getDescription(locale));
                    propertyList.add(propertyData);
    On this line serFactory.getService("PropertyConfigurationService") i get the following error on the trace:
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###Configuration Framework error: unable to create an IConfigClientContext instance from an EP5 userInitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.
    Do you have any idea of how to solve this? or if you accomplished in a different way, can you guide me a little bit.
    Thanks in advance Theo

  • How to handle multiple actions in the webservice ?

    Hi Guys,
    I have multiple operations in the webservcie and under soap action in the receiver soap adapter, i dont know how to handle multiple soap operations.
    can anybody guide me, how to acheive this ?
    Thanks,
    srini

    Hi Srini !
    This weblog shows the general design of a scenario with BPM
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    This link:
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    show how to insert a predefined BPM pattern. You could use one of the BpmPatternSerialize.... patterns to see how you BPM should look like...
    Basically it should be:
    1) Receive Step (async/sync, as you need) to trigger the BPM
    2) Send step (sync) for first webservice
    3) Send step (sync) for second webservice
    N) Send step (sync) for N webservice
    N+1) if the whole communication is sync, here you need to use a send step to return back the answer to sender.
    Regards,
    Matias.

  • Regarding the creation of Webservice

    Hi,
    I have created a webservice and deployed sucessfully.
    I would like to modify it and I deleted the Virtual Interface and the webservice definition.
    After building the EJB module and EAR module, I cannot create the Webservice and the Virtual Interface.
    I need help in tracing the problem.
    Thanks and regards
    Vivek

    HI..
    Two roles are provided for creating Web services:
    ● Web Service Developer
    The Web service developer defines the Web service at design time. He or she knows the application logic as well as the resulting conditions for the communication type (for example, stateless/stateful), and the required security level. He or she defines these properties at an abstract level. Specific details, such as the transport binding or security concept to be used, are defined only later during the Web service configuration.
    ● Web Service Configurator
    The Web service configurator defines the behavior of the Web service at runtime. He or she knows the system landscape and the technical requirements of the application server where the Web service is to be called. On the basis of the abstract definition of the Web service, the configurator can decide during configuration which specific attributes should be assigned to the features defined at design time.
    Prerequisites
    To create or consume Web services, you need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN. You must add the authorization S_ICF_ADMIN (authorization for the Internet Communication Framework) to your profile. You use the authorization S_SERVICE for starting external services.
    To create a Web service for a function module, function group, BAPI, or XI message interface with a predefined feature profile, use the Web Service Creation Wizard.
    To specify the features of the Web service yourself, follow the procedure described in Creating a Virtual Interface.
    You can also create Web services using the Web Service Creation Wizard, and then change the virtual interface and Web service definition in the Object Navigator (SE80), by choosing Enterprise Services ® Web Service Library.
    for more Information click on the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/76/084e3ce0f9fe3fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/76/084e3ce0f9fe3fe10000000a114084/frameset.htm
    Regards,
    Arun

  • SAP to consume third party webservice that requires saml authentication

    Hi All,
    I am able to invoke our thirdparty webservice from soapUI, but it is a two step procedure, This is how it works in SoapUI:
    step 1) first send below predefined message, embeded with username and pwd in the header:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header>
              <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <wsse:UsernameToken>
                        <wsse:Username>myusername</wsse:Username>
                        <wsse:Password>mypwd</wsse:Password>
                   </wsse:UsernameToken>
              </wsse:Security>
         </SOAP:Header>
         <SOAP:Body>
              <samlp:Request xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
                   <samlp:AuthenticationQuery>
                        <saml:Subject xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
                             <saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">myusername</saml:NameIdentifier>
                        </saml:Subject>
                   </samlp:AuthenticationQuery>
              </samlp:Request>
         </SOAP:Body>
    </SOAP:Envelope>
    after this, we are got the response as:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header>
              <header xmlns="http://schemas.thirdparty.com/General/1.0/">
              </header>
         </SOAP:Header>
         <SOAP:Body>
              <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
                   <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
                        <SignedInfo>
                             <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                             <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                             <Reference URI="#A18A90576-64FD-71E0-A9BC-286444658733">
                                  <Transforms>
                                       <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                                  </Transforms>
                                  <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                                  <DigestValue>LzlvRhszr3qlOTG7AZX8i+yKvRI=</DigestValue>
                             </Reference>
                        </SignedInfo>
                        <SignatureValue>qc1x+84wkkPrf76dHW2HJ...</SignatureValue>
                        <KeyInfo>
                             <X509Data>
                                  <X509Certificate>MIIB3I.....NBgkqhk</X509Certificate>
                             </X509Data>
                        </KeyInfo>
                   </Signature>
                   <samlp:Status>
                        <samlp:StatusCode Value="samlp:Success"/>
                   </samlp:Status>
                   <saml:Assertion AssertionID="A18A90576.." xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
                        <saml:Conditions NotBefore="2011-01-25T09:14:54.045Z" NotOnOrAfter="2011-01-25T17:19:54.045Z"/>
                        <saml:AuthenticationStatement AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
                             <saml:Subject>
                                  <saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">myusername</saml:NameIdentifier>
                             </saml:Subject>
                        </saml:AuthenticationStatement>
                   </saml:Assertion>
                   <samlp:AssertionArtifact>MDGH....RbY6qHUFcO</samlp:AssertionArtifact>
              </samlp:Response>
         </SOAP:Body>
    </SOAP:Envelope>
    step 2) from the above response body, use the Signature elemenent, and saml:Assertion element as part of header of the original request, so the actual request in soapUI has become:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:product="http://mytp/myfunctionality">
         <soapenv:Header>
              <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <Signature> ...</Signature>
                   <saml:Assertion>..</saml:Assertion>
              </wsse:Security>
         </soapenv:Header>
         <soapenv:Body>
              <product:isProductAvailable>
                   <product:ProductNAME>myproduct</product:ProductNAME>
                   <product:ProductYEAR>2010</product:ProductYEAR>
              </product:isProductAvailable>
         </soapenv:Body>
    </soapenv:Envelope>
    after sending this above request, we are getting the desired response:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:product="http://mytp/myfunctionality">
         <soapenv:Header>
         </soapenv:Header>
         <soapenv:Body>
              <isProductAvailableResponse xmlns="http://mytp/myfunctionality">
                   <isProductAvailable>true</isProductAvailable>
              </isProductAvailableResponse>
         </soapenv:Body>
    </soapenv:Envelope>
    If we want to implement the same functionality using abap consumer proxy, do we need to invoke with two different requests,
    is there any efficient way, where we can specify the values of <wsse:Username> and <wsse:Password>, and invoke with original payload.
    is there any config in SOAMANAGER, to specify the saml releated settings, for the consumer proxy.
    what could be the simplest way to consume this webservice in sap.
    thanks in advance, BJagdishwar.

    Hi,
    Please create logical port using wsdl directly it will apply required settings in LP. You can also ask for client certificate which you can apply while calling 3rd party services. To me this seems X509 client certificate authentication.
    You can also create LP manually by giving SAP SAML authentication and save. Next time when you edit LP you will be able to see plenty of option to configure required settings.
    Please note that not all security methods are supported by SAP.
    Regards,
    Gourav

  • Bindable variable and WebServices

    Hi,
      I am new to flex and am trying to create a simple interactive application which interacts with a Web service.
    I am using a button to trigger the web service call and want to display the data in a data grid component. I also have a Combo box which i am populating with the first column of the same web service's result set.
    The problem I am facing is that both the components seem to have a lag of one click. Which means, when i click the Get Data button to trigger the web service call the first time, the web service returns data (verified by the web service logs) but it is not displayed on the data grid. The next time i click on the Get Data button, the data is displayed.
    I have pasted the code below. Please let me know where i have gone wrong in it.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    backgroundGradientColors="[0xFFFFFF,0xAAAAAA]"
    horizontalAlign="left"
    verticalGap="15" horizontalGap="15" >
    <mx:WebService id="dataFetching"
    wsdl="http://localhost:8080/SRS/services/KeyDriversChainDataService?wsdl"
    fault="mx.controls.Alert.show(event.fault.faultString)"
    >
         <mx:operation name="getMRSMarkets">
            <mx:request>
                  <viewType>DSB</viewType>
                 <category>HOTS</category>
                 <segment>ALL</segment>
                 <tradingCo>ALL</tradingCo>
                 <brand>ALL</brand>
                 <timeframe>Weekly-TABLE</timeframe>
                 <analyticType>SUMMARY</analyticType>
                 <market>Total Coverage</market>
                 </mx:request>
        </mx:operation>
    </mx:WebService>
    <mx:Script>
         <![CDATA[
                  import mx.collections.ArrayCollection;
                  import mx.rpc.events.ResultEvent;
                  import mx.rpc.events.FaultEvent;
                  [Bindable]
                  public var distinctMrkt:ArrayCollection;
              private function getMarkets(): void{
                   dataFetching.getMRSMarkets.send();
                   distinctMrkt = dataFetching.getMRSMarkets.lastResult as ArrayCollection;
                   table.dataProvider = distinctMrkt;
              private function showGraph(market:String):void{
                   selected.text=market;
    ]]>
    </mx:Script>   
    <mx:Button id="datafetch" label="Get Data" click="getMarkets()"/>
    <mx:DataGrid id="table" width="100%" >
         <mx:columns>
              <mx:DataGridColumn dataField="a1_market" headerText="Market"/>
              <mx:DataGridColumn dataField="a2_analytic_type" headerText="Analytic Type"/>
         </mx:columns>
    </mx:DataGrid>
    <mx:ComboBox id="dropdown" dataProvider="{distinctMrkt}" labelField="a1_market"
    click="showGraph(dropdown.selectedLabel)"/>
    <mx:HBox>
              <mx:Label text="Selected item is: "/>
              <mx:Label id="selected" />
    </mx:HBox>
    </mx:Application>

    Hi Abdellatif,
    Ok, that would clarify things.
    You have an idea if this is documented somewhere?
    Reason we ask:the "xi3-1_designer_en" guide, the specification for the @variable function states:
    "BusinessObjects system variables. ...
    Report variables. ...
    Operating system variables. You can enter Windows environment variables in order to obtain information about your installation.
    Custom variables. With Desktop Intelligence, you can use a predefined text file to provide a list of fixed variable values."
    There's no explicit referal to DeskI only for OS system variables, like there is for custom variables.
    Thanks!
    Raf

  • Predefined Callable object instantiation

    Hi everyone. I was wondering if there is a way to call a predefined callable object from an EJB/Webservice or any other component.
    My specific requirement is to use the GP templates, to send notification e-mails. I already have work flows configured to use <i>com.sap.caf.eu.gp.callobj.mail.NotificationCO</i> object. I'm having trouble with the portal's lack of support for holiday/weekend recognition, so I have to develop a component which can deal with notifications and due dates.
    My intention is to be capable of instantiating a <i>NotificationCO</i> which handles the e-mail  issues for me. My second best option is to be capable of accessing the GP templates and send the e-mails myself.

    Problem solved.. Some problem with the transport file itself. Some Callable objects were not transported.

  • WebService 4.7 / WAS 620 XSTRING BASE 64

    Hi all,
    I am working on WebAS 620 and have to call from ABAP side a Webservice via SOAP.
    The webservice belongs to a third party tool and is placed on a different server in the internet.
    This webservice contains coomlpex parameter. I will include the WSDL to this thread.
    Reading the documentation it says that every webservice can be called from ABAP on WAS 602.
    (but i don't know how ...)
    One of the parameter is a table which can contain many pdf streams. This streams have to be
    in BASE64 format
    I found an example (SMS) at the forum/blogs, but i didn't found a way to manage this complex
    parameter in a WebService call on 620 ...
    Do you know if this is possible and how I can do it?
    Method Parameters:
    Name                    -Type                         -Mandatory            -Description    
    *files                       FileContainer             -required                -The files to process
    *FileContainer.         -base64                     -required                -The base64 encoded file
    SourceFileContent 
    *FileContainer.         -string [ ]                    -required                -file name of the file to
    SourceFileName                                                                be processed
    *FileContainer.         -int                                                        -for xyzmoSeal ONLY to manage
    CustomId                                                                           attachments (see u201Cmanage                                                                               
    Attachmentsu201D)
    *FileContainer.         -int                                                         -for xyzmoSeal ONLY to manage
    CustomRefId                                                                      attachments (see u201Cmanage                                                                               
    Attachments")
    *FileContainer.         -int                             -readonly              -status of this file in the response
    Status                                                                               only.
    *selectedWorkflow    -string [ ]                                               -selected workflow name as                                                                               
    result from  Name Method x
    WSDL
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://com.xyzmo.server.inputinterface.webservice/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://com.xyzmo.server.inputinterface.webservice/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;b&gt;xyzmo Webservice Advanced Interface&lt;/b&gt;&lt;br/&gt; Document is sent in for processing. Processing may be signing, verification, conversion...&lt;br/&gt;The document is processed via a predefined 'workflow' configuration.&lt;br/&gt;For example:&lt;dir&gt;com.xyzmo.server.documentworkflow._06_signSealPDF::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._06_signAdobePDF::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._06_signXMLdSIG::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._06_signPKCS7::_global.xml&lt;br/&gt;com.xyzmo.server.DocumentWorkflow._06_signSealPDF_dig2P::_global.xml&lt;br/&gt;com.xyzmo.server.DocumentWorkflow._06_dig2Pstandalone::_global.xml&lt;br/&gt;com.xyzmo.server.DocumentWorkflow._06_MimeParser::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._36_verify::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._56_convertFile2Pdf::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._96_verify_Type_02&lt;br/&gt;com.xyzmo.server.documentworkflow._96a_verify_Type_13&lt;/dir&gt;</wsdl:documentation>
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://com.xyzmo.server.inputinterface.webservice/">
          <s:element name="Process">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="files" type="tns:ArrayOfFileContainer" />
                <s:element minOccurs="0" maxOccurs="1" name="selectedWorkflowName" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:complexType name="ArrayOfFileContainer">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="unbounded" name="FileContainer" nillable="true" type="tns:FileContainer" />
            </s:sequence>
          </s:complexType>
          <s:complexType name="FileContainer">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="SourceFileContent" type="s:base64Binary" />
              <s:element minOccurs="0" maxOccurs="1" name="SourceFileName" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="CustomId" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="CustomRefId" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="Status" type="s:int" />
            </s:sequence>
          </s:complexType>
          <s:element name="ProcessResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ProcessResult" type="tns:ProcessResult" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:complexType name="ProcessResult">
            <s:sequence>
              <s:element minOccurs="1" maxOccurs="1" name="ProcessingPolicyStatus" type="s:int" />
              <s:element minOccurs="0" maxOccurs="1" name="ProcessedFiles" type="tns:ArrayOfFileContainer" />
            </s:sequence>
          </s:complexType>
          <s:element name="ProcessMail">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="mimeMessage" type="tns:ArrayOfString" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:complexType name="ArrayOfString">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
            </s:sequence>
          </s:complexType>
          <s:element name="ProcessMailResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ProcessMailResult" type="tns:ArrayOfString" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWorkflowList">
            <s:complexType />
          </s:element>
          <s:element name="GetWorkflowListResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWorkflowListResult" type="tns:ArrayOfString" />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:schema>
      </wsdl:types>
      <wsdl:message name="ProcessSoapIn">
        <wsdl:part name="parameters" element="tns:Process" />
      </wsdl:message>
      <wsdl:message name="ProcessSoapOut">
        <wsdl:part name="parameters" element="tns:ProcessResponse" />
      </wsdl:message>
      <wsdl:message name="ProcessMailSoapIn">
        <wsdl:part name="parameters" element="tns:ProcessMail" />
      </wsdl:message>
      <wsdl:message name="ProcessMailSoapOut">
        <wsdl:part name="parameters" element="tns:ProcessMailResponse" />
      </wsdl:message>
      <wsdl:message name="GetWorkflowListSoapIn">
        <wsdl:part name="parameters" element="tns:GetWorkflowList" />
      </wsdl:message>
      <wsdl:message name="GetWorkflowListSoapOut">
        <wsdl:part name="parameters" element="tns:GetWorkflowListResponse" />
      </wsdl:message>
      <wsdl:portType name="xyzmoWebServiceSoap">
        <wsdl:operation name="Process">
          <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method executes the selected workflow, for each fileContainer entry.&lt;br/&gt; PARAMETER (required) FileContainer[] 'files': contains the files to be processed. At least one FileContainer is required.&lt;br/&gt; PARAMETER (optional) string 'selectedWorkflowName': holds the selected workflow name as a result from method GetWorkflowList(). If no value is given the default value in the Interface Configuration is used.</wsdl:documentation>
          <wsdl:input message="tns:ProcessSoapIn" />
          <wsdl:output message="tns:ProcessSoapOut" />
        </wsdl:operation>
        <wsdl:operation name="ProcessMail">
          <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method executes the 06_MimeParser workflow, for each mimeMessage entry.&lt;br/&gt;PARAMETER (required) string[] 'mimeMessage': string representation of mime message to be parsed.</wsdl:documentation>
          <wsdl:input message="tns:ProcessMailSoapIn" />
          <wsdl:output message="tns:ProcessMailSoapOut" />
        </wsdl:operation>
        <wsdl:operation name="GetWorkflowList">
          <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Method returns all permitted workflows (as string array) for the calling URL respectively port.&lt;br/&gt;No PARAMETERS.</wsdl:documentation>
          <wsdl:input message="tns:GetWorkflowListSoapIn" />
          <wsdl:output message="tns:GetWorkflowListSoapOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="xyzmoWebServiceSoap" type="tns:xyzmoWebServiceSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="Process">
          <soap:operation soapAction="http://com.xyzmo.server.inputinterface.webservice/Process" style="document" />
          <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="ProcessMail">
          <soap:operation soapAction="http://com.xyzmo.server.inputinterface.webservice/ProcessMail" style="document" />
          <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetWorkflowList">
          <soap:operation soapAction="http://com.xyzmo.server.inputinterface.webservice/GetWorkflowList" style="document" />
          <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="xyzmoWebServiceSoap12" type="tns:xyzmoWebServiceSoap">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="Process">
          <soap12:operation soapAction="http://com.xyzmo.server.inputinterface.webservice/Process" style="document" />
          <wsdl:input>
            <soap12:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap12:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="ProcessMail">
          <soap12:operation soapAction="http://com.xyzmo.server.inputinterface.webservice/ProcessMail" style="document" />
          <wsdl:input>
            <soap12:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap12:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetWorkflowList">
          <soap12:operation soapAction="http://com.xyzmo.server.inputinterface.webservice/GetWorkflowList" style="document" />
          <wsdl:input>
            <soap12:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap12:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="xyzmoWebService">
        <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;b&gt;xyzmo Webservice Advanced Interface&lt;/b&gt;&lt;br/&gt; Document is sent in for processing. Processing may be signing, verification, conversion...&lt;br/&gt;The document is processed via a predefined 'workflow' configuration.&lt;br/&gt;For example:&lt;dir&gt;com.xyzmo.server.documentworkflow._06_signSealPDF::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._06_signAdobePDF::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._06_signXMLdSIG::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._06_signPKCS7::_global.xml&lt;br/&gt;com.xyzmo.server.DocumentWorkflow._06_signSealPDF_dig2P::_global.xml&lt;br/&gt;com.xyzmo.server.DocumentWorkflow._06_dig2Pstandalone::_global.xml&lt;br/&gt;com.xyzmo.server.DocumentWorkflow._06_MimeParser::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._36_verify::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._56_convertFile2Pdf::_global.xml&lt;br/&gt;com.xyzmo.server.documentworkflow._96_verify_Type_02&lt;br/&gt;com.xyzmo.server.documentworkflow._96a_verify_Type_13&lt;/dir&gt;</wsdl:documentation>
        <wsdl:port name="xyzmoWebServiceSoap" binding="tns:xyzmoWebServiceSoap">
          <soap:address location="http://testlab.xyzmo.com:50006/com.xyzmo.server.inputinterface.webservice.asmx" />
        </wsdl:port>
        <wsdl:port name="xyzmoWebServiceSoap12" binding="tns:xyzmoWebServiceSoap12">
          <soap12:address location="http://testlab.xyzmo.com:50006/com.xyzmo.server.inputinterface.webservice.asmx" />
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
    Best regards,
    Michael Handschuh

    Hi Michael,
       I have almost the same requirement. After searching a lot I found following. It might help you or may not.
    If you find any other solution pls post that.
    Thanks,
    Santosh.
    START-OF-SELECTION .
      CLEAR WF_STRING .
      CONCATENATE '<?xml version="1.0" encoding="utf-8"?>'
      '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'
      '<soap:Body>'
      '<ConversionRate xmlns="http://www.webserviceX.NET/">'
      '<FromCurrency>' V_FROM '</FromCurrency>'
      '<ToCurrency>' V_TO '</ToCurrency>'
      '</ConversionRate>'
      '</soap:Body>'
      '</soap:Envelope>'
      INTO WF_STRING .
      CLEAR :RLENGTH , TXLEN .
      RLENGTH = STRLEN( WF_STRING ) .
      MOVE: RLENGTH TO TXLEN .
      CLEAR: WF_PROXY, WF_PORT .
      MOVE: P_PROXY TO WF_PROXY ,
            P_PORT TO WF_PORT .
      CALL METHOD CL_HTTP_CLIENT=>CREATE
        EXPORTING
          HOST          = 'www.webservicex.net'
          SERVICE       = '80'
          SCHEME        = '1'
          PROXY_HOST    = WF_PROXY
          PROXY_SERVICE = WF_PORT
        IMPORTING
          CLIENT        = HTTP_CLIENT.
      HTTP_CLIENT->PROPERTYTYPE_LOGON_POPUP = HTTP_CLIENT->CO_DISABLED.
      WF_USER = USER .
      WF_PASSWORD = PASSWORD .
    proxy server authentication
      CALL METHOD HTTP_CLIENT->AUTHENTICATE
        EXPORTING
          PROXY_AUTHENTICATION = 'X'
          USERNAME             = WF_USER
          PASSWORD             = WF_PASSWORD.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME  = '~request_method'
          VALUE = 'POST'.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME  = '~server_protocol'
          VALUE = 'HTTP/1.1'.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME  = '~request_uri'
          VALUE = '/CurrencyConvertor.asmx'.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME  = 'Content-Type'
          VALUE = 'text/xml; charset=utf-8'.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME  = 'Content-Length'
          VALUE = TXLEN.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME  = 'SOAPAction'
          VALUE = 'http://www.webserviceX.NET/ConversionRate'.
      CALL METHOD HTTP_CLIENT->REQUEST->SET_CDATA
        EXPORTING
          DATA   = WF_STRING
          OFFSET = 0
          LENGTH = RLENGTH.
      CALL METHOD HTTP_CLIENT->SEND
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2.
      CALL METHOD HTTP_CLIENT->RECEIVE
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2
          HTTP_PROCESSING_FAILED     = 3.
      CLEAR WF_STRING1 .
      WF_STRING1 = HTTP_CLIENT->RESPONSE->GET_CDATA( ).
      REPLACE ALL OCCURRENCES OF
          '&lt;' IN WF_STRING1 WITH '<' .
      REPLACE ALL OCCURRENCES OF
       '&gt;' IN WF_STRING1 WITH '>' .
      REPLACE ALL OCCURRENCES OF
       'xmlns=' IN WF_STRING1 WITH 'xmlns:xsl=' .
      TRY .
          CALL TRANSFORMATION (`Y_CURR_XML2ABAP`)
                  SOURCE XML WF_STRING1
                  RESULT     OUTTAB = OUTTAB.
        CATCH CX_XSLT_EXCEPTION INTO XSLT_ERR.
          DATA: S TYPE STRING.
          S = XSLT_ERR->GET_TEXT( ).
          WRITE: ': ', S.
          STOP.
      ENDTRY .

  • Info for Creating a webservice

    Hi Experts,
    Could you please guid me how to create the Webservice and how to use that in XI.
    Thanks in Advance,
    Dushanth.

    Hi Dushanth,
    You create a Web service so that users can access the available functions, such as an RFC-enabled function module, function group, BAPI, or XI message, even those stored in a different system.
    Two roles are provided for creating Web services:
    &#9679;      Web Service Developer
    The Web service developer defines the Web service at design time. He or she knows the application logic as well as the resulting conditions for the communication type (for example, stateless/stateful), and the required security level. He or she defines these properties at an abstract level. Specific details, such as the transport binding or security concept to be used, are defined only later during the Web service configuration.
    &#9679;      Web Service Configurator
    The Web service configurator defines the behavior of the Web service at runtime. He or she knows the system landscape and the technical requirements of the application server where the Web service is to be called. On the basis of the abstract definition of the Web service, the configurator can decide during configuration which specific attributes should be assigned to the features defined at design time.
    Prerequisites
    To create or consume Web services, you need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN. You must add the authorization S_ICF_ADMIN (authorization for the Internet Communication Framework) to your profile. You use the authorization S_SERVICE for starting external services.
    Procedure
    Um einen ...
    &#9679;      To create a Web service for a function module, function group, BAPI, or XI message interface with a predefined feature profile, use the Web Service Creation Wizard.
    &#9679;      To specify the features of the Web service yourself, follow the procedure described in Creating a Virtual Interface.
    You can also create Web services using the Web Service Creation Wizard, and then change the virtual interface and Web service definition in the Object Navigator (SE80), by choosing Enterprise Services  ® Web Service Library.
    for more Information click on the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/76/084e3ce0f9fe3fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/76/084e3ce0f9fe3fe10000000a114084/frameset.htm
    Cheers,
    Ashok Kumar.

  • Error while consuming a webservice in nwds

    Dear Users,
      I m facing an error while consuming a wsdl webservice in webdynpro java error................
    Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[ModalContext,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor Services
       Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
       Method     : doImportWebServiceModel
       Message    : Web Service model import failed
       Exception  : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
    com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    -- caused by --
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many  times (20) -> java.net.ProtocolException: Server redirected too many  times (20)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 8 more
    Caused by: java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
         at java.net.URL.openStream(URL.java:913)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
         ... 10 more
    Please help me in solving his issue.
    regards,
    Sathya

    I have the same issue attempting to connect my application to this WSDL:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
    I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many  times (20)], see error log for details
    2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many  times (20)
    java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
         at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
         at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
         at java.lang.Thread.run(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.net.URL.openStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.lang.Thread.run(Unknown Source)
    Any ideas?
    Edited by: tburke on Oct 27, 2009 2:26 AM

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: 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 sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: 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 sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: 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 sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

  • Error while testing a webservice in http analyzer

    Hi ADF Experts,
    I am using 11.1.1.7.0 jdeveloper version.
    My questions are:- Can we create a webservice proxy from a webservice which contain multiple schemas? If yes how?
    While I separated the schemas into different filesystem and tried calling from wsdl. Also then I am getting the below error.
    "The following invalid value had caused a oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix ns1"
    "The operation cannot be proceed"
    Validating service
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Generating proxy
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Proxy generation finished
    Generation complete.
    However in SoapUI, the wsdl has no namespace error.
    Thanks for your valueable comments in advance,
    Regards,
    Sushant.

    The following is not an error, but a WARNING.
    Validating service
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Generating proxy
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Proxy generation finished
    Generation complete.

  • Error while running a eBS webservice from the SoapUI Tool

    Hello All,
    I am trying to run PurchaseOrder Service webservice from the soap ui tool, In this service there are 6 methods are available and i am currently running the QueryPurchaseOrder method:
    Following is the soap message I am running:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pox="http://xmlns.oracle.com/java/oracle/apps/po/services/poxpoepo/POXPOEPOServices_DocStyle/" xmlns:orac="http://oracle.apps.fnd.soa.forms.services.rt.formsSchema/">
    <soapenv:Header>
    <pox:SOAHeader>
    <!--Optional:-->
    <pox:Responsibility></pox:Responsibility>
    <!--Optional:-->
    <pox:RespApplication></pox:RespApplication>
    <!--Optional:-->
    <pox:SecurityGroup></pox:SecurityGroup>
    <!--Optional:-->
    <pox:NLSLanguage></pox:NLSLanguage>
    <!--Optional:-->
    <pox:Org_Id>204</pox:Org_Id>
    </pox:SOAHeader>
    </soapenv:Header>
    <soapenv:Body>
    <pox:queryPurchaseOrder_Request>
    <orac:OutsideProcessing>
    <!--Optional:-->
    <orac:Job></orac:Job>
    <!--Optional:-->
    <orac:Line></orac:Line>
    <!--Optional:-->
    <orac:OSPUnitType></orac:OSPUnitType>
    <!--Optional:-->
    <orac:OperationSequence></orac:OperationSequence>
    <!--Optional:-->
    <orac:ResourceSequence></orac:ResourceSequence>
    <!--Optional:-->
    <orac:ResourceCode></orac:ResourceCode>
    </orac:OutsideProcessing>
    <orac:PoHeaders>
    <!--Zero or more repetitions:-->
    <orac:PoLines>
    <orac:LineNum>1</orac:LineNum>
    <orac:LineType>Goods</orac:LineType>
    <!--Optional:-->
    <orac:Item></orac:Item>
    <!--Optional:-->
    <orac:ItemRevision></orac:ItemRevision>
    <!--Optional:-->
    <orac:Job></orac:Job>
    <orac:ItemCategory>MISC.MISC</orac:ItemCategory>
    <orac:ItemDescription>test</orac:ItemDescription>
    <orac:UnitOfMeasure>EA</orac:UnitOfMeasure>
    <!--Optional:-->
    <orac:LineOrderQuantity></orac:LineOrderQuantity>
    <!--Optional:-->
    <orac:Quantity></orac:Quantity>
    <!--Optional:-->
    <orac:LineUnitPrice></orac:LineUnitPrice>
    <!--Optional:-->
    <orac:PromisedDate></orac:PromisedDate>
    <!--Optional:-->
    <orac:NeedByDate></orac:NeedByDate>
    <!--Optional:-->
    <orac:VendorProductNum></orac:VendorProductNum>
    <!--Optional:-->
    <orac:Amount></orac:Amount>
    <!--Optional:-->
    <orac:ChargeAccount></orac:ChargeAccount>
    <!--Optional:-->
    <orac:Reserved></orac:Reserved>
    <!--Optional:-->
    <orac:OPMLineSecondaryUOM></orac:OPMLineSecondaryUOM>
    <!--Optional:-->
    <orac:OPMLineSecondaryQuantity></orac:OPMLineSecondaryQuantity>
    <!--Optional:-->
    <orac:SecondaryQuantity></orac:SecondaryQuantity>
    <!--Optional:-->
    <orac:PreferredLineGrade></orac:PreferredLineGrade>
    <!--Optional:-->
    <orac:ItemListPrice></orac:ItemListPrice>
    <!--Optional:-->
    <orac:ItemMarketPrice></orac:ItemMarketPrice>
    <!--Optional:-->
    <orac:PriceType></orac:PriceType>
    <!--Optional:-->
    <orac:AllowPriceOverride></orac:AllowPriceOverride>
    <!--Optional:-->
    <orac:PriceLimit></orac:PriceLimit>
    <!--Optional:-->
    <orac:Negotiated></orac:Negotiated>
    <!--Optional:-->
    <orac:ContractNum></orac:ContractNum>
    <!--Optional:-->
    <orac:GlobalContract></orac:GlobalContract>
    <!--Optional:-->
    <orac:ContractOwningOrg></orac:ContractOwningOrg>
    <!--Optional:-->
    <orac:SourceDocumentType></orac:SourceDocumentType>
    <!--Optional:-->
    <orac:FromDocumentNum></orac:FromDocumentNum>
    <!--Optional:-->
    <orac:FromDocumentLineNum></orac:FromDocumentLineNum>
    <!--Optional:-->
    <orac:GlobalBlanket></orac:GlobalBlanket>
    <!--Optional:-->
    <orac:SourceDocumentOwningOrg></orac:SourceDocumentOwningOrg>
    <!--Optional:-->
    <orac:SupplierQuotation></orac:SupplierQuotation>
    <!--Optional:-->
    <orac:ProjectsContractNum></orac:ProjectsContractNum>
    <!--Optional:-->
    <orac:ProjectsContractRevNum></orac:ProjectsContractRevNum>
    <!--Optional:-->
    <orac:NoteToSupplier></orac:NoteToSupplier>
    <!--Optional:-->
    <orac:UNNum></orac:UNNum>
    <!--Optional:-->
    <orac:UNNumDescription></orac:UNNumDescription>
    <!--Optional:-->
    <orac:HazardClass></orac:HazardClass>
    <!--Optional:-->
    <orac:CapitalExpense></orac:CapitalExpense>
    <!--Optional:-->
    <orac:TransactionNature></orac:TransactionNature>
    <!--Optional:-->
    <orac:ContractorFirstName></orac:ContractorFirstName>
    <!--Optional:-->
    <orac:ContractorLastName></orac:ContractorLastName>
    <!--Optional:-->
    <orac:ContractorStartDate></orac:ContractorStartDate>
    <!--Optional:-->
    <orac:ContractorEndDate></orac:ContractorEndDate>
    <!--Optional:-->
    <orac:MinimumLineReleaseAmount></orac:MinimumLineReleaseAmount>
    <!--Optional:-->
    <orac:LineQuantityAgreed></orac:LineQuantityAgreed>
    <!--Optional:-->
    <orac:LineAmountAgreed></orac:LineAmountAgreed>
    <!--Optional:-->
    <orac:LlineQuantityReleased></orac:LlineQuantityReleased>
    <!--Optional:-->
    <orac:LineAmountReleased></orac:LineAmountReleased>
    <!--Optional:-->
    <orac:LineExpirationDate></orac:LineExpirationDate>
    <!--Optional:-->
    <orac:CumulativePricing></orac:CumulativePricing>
    <!--Zero or more repetitions:-->
    <orac:PoShipments>
    <orac:ShipmentNum>1</orac:ShipmentNum>
    <orac:ShiptoOrganization>M1</orac:ShiptoOrganization>
    <orac:ShipToLocation>M1- Seattle Mfg</orac:ShipToLocation>
    <!--Optional:-->
    <orac:UnitOfMeasure></orac:UnitOfMeasure>
    <orac:ShipmentQuantity>1</orac:ShipmentQuantity>
    <!--Optional:-->
    <orac:PromisedDate></orac:PromisedDate>
    <!--Optional:-->
    <orac:NeedByDate></orac:NeedByDate>
    <!--Optional:-->
    <orac:OriginalPromisedDate></orac:OriginalPromisedDate>
    <!--Optional:-->
    <orac:CountryofOrigin></orac:CountryofOrigin>
    <!--Optional:-->
    <orac:ChargeAccount></orac:ChargeAccount>
    <!--Optional:-->
    <orac:ShipmentAmount></orac:ShipmentAmount>
    <!--Optional:-->
    <orac:EncumberedFlag></orac:EncumberedFlag>
    <!--Optional:-->
    <orac:OPMShipmentSecondaryUOM></orac:OPMShipmentSecondaryUOM>
    <!--Optional:-->
    <orac:OPMShipmentSecondaryQuantity></orac:OPMShipmentSecondaryQuantity>
    <!--Optional:-->
    <orac:PreferredShipmentGrade></orac:PreferredShipmentGrade>
    <!--Optional:-->
    <orac:ReceiptCloseTolerance></orac:ReceiptCloseTolerance>
    <!--Optional:-->
    <orac:InvoiceCloseTolerance></orac:InvoiceCloseTolerance>
    <orac:MatchApprovalLevel>3WAY</orac:MatchApprovalLevel>
    <orac:InvoiceMatchOption>P</orac:InvoiceMatchOption>
    <!--Optional:-->
    <orac:AccrueatReceipt></orac:AccrueatReceipt>
    <!--Optional:-->
    <orac:Firm></orac:Firm>
    <!--Optional:-->
    <orac:Item></orac:Item>
    <!--Optional:-->
    <orac:Category></orac:Category>
    <!--Optional:-->
    <orac:Description></orac:Description>
    <!--Optional:-->
    <orac:VendorProductNum></orac:VendorProductNum>
    <!--Optional:-->
    <orac:ShipmentStatus></orac:ShipmentStatus>
    <!--Optional:-->
    <orac:QuantityReceived></orac:QuantityReceived>
    <!--Optional:-->
    <orac:QuantityCancelled></orac:QuantityCancelled>
    <!--Optional:-->
    <orac:QuanittyBilled></orac:QuanittyBilled>
    <!--Optional:-->
    <orac:AmountReceived></orac:AmountReceived>
    <!--Optional:-->
    <orac:AmountCancelled></orac:AmountCancelled>
    <!--Optional:-->
    <orac:AmountBilled></orac:AmountBilled>
    <!--Optional:-->
    <orac:OPMSecondaryQuantityReceived></orac:OPMSecondaryQuantityReceived>
    <!--Optional:-->
    <orac:OPMSecondaryCancelled></orac:OPMSecondaryCancelled>
    <orac:BreakPrice></orac:BreakPrice>
    <!--Optional:-->
    <orac:PriceDiscount></orac:PriceDiscount>
    <!--Optional:-->
    <orac:PriceBreakStartDate></orac:PriceBreakStartDate>
    <!--Optional:-->
    <orac:PriceBreakEndDate></orac:PriceBreakEndDate>
    <!--Optional:-->
    <orac:EarlyReceiptDays></orac:EarlyReceiptDays>
    <!--Optional:-->
    <orac:LateReceiptDays></orac:LateReceiptDays>
    <!--Optional:-->
    <orac:ReceiptDaysAction></orac:ReceiptDaysAction>
    <!--Optional:-->
    <orac:LastAcceptDate></orac:LastAcceptDate>
    <!--Optional:-->
    <orac:ReceiptTolerance></orac:ReceiptTolerance>
    <!--Optional:-->
    <orac:ReceiptToleranceAction></orac:ReceiptToleranceAction>
    <!--Optional:-->
    <orac:AllowSubstituteReceipts></orac:AllowSubstituteReceipts>
    <!--Optional:-->
    <orac:ReceiptRouting></orac:ReceiptRouting>
    <!--Optional:-->
    <orac:EnforceShipTo></orac:EnforceShipTo>
    <!--Optional:-->
    <orac:NoteforReceiver></orac:NoteforReceiver>
    <!--Optional:-->
    <orac:VMIEnabled></orac:VMIEnabled>
    <!--Optional:-->
    <orac:ConsignedShipment></orac:ConsignedShipment>
    <!--Zero or more repetitions:-->
    <orac:PoDistributions>
    <orac:DistributionNum>1</orac:DistributionNum>
    <orac:DestinationType>Expense</orac:DestinationType>
    <!--Optional:-->
    <orac:Requester></orac:Requester>
    <!--Optional:-->
    <orac:DeliverToLocation></orac:DeliverToLocation>
    <!--Optional:-->
    <orac:DestinationSubinventory></orac:DestinationSubinventory>
    <orac:DistributionQuantity>?</orac:DistributionQuantity>
    <!--Optional:-->
    <orac:DistributionAmount></orac:DistributionAmount>
    <!--Optional:-->
    <orac:POChargeAccount></orac:POChargeAccount>
    <!--Optional:-->
    <orac:DestinationChargeAccount></orac:DestinationChargeAccount>
    <!--Optional:-->
    <orac:RecoveryRate></orac:RecoveryRate>
    <!--Optional:-->
    <orac:GLDate></orac:GLDate>
    <!--Optional:-->
    <orac:EncumberedFlag></orac:EncumberedFlag>
    <!--Optional:-->
    <orac:RequestingOrganization></orac:RequestingOrganization>
    <!--Optional:-->
    <orac:RequisitionNum></orac:RequisitionNum>
    <!--Optional:-->
    <orac:RequisitionLineNum></orac:RequisitionLineNum>
    <!--Optional:-->
    <orac:OnlineRequisition></orac:OnlineRequisition>
    <!--Optional:-->
    <orac:RateDate></orac:RateDate>
    <!--Optional:-->
    <orac:Rate></orac:Rate>
    <!--Optional:-->
    <orac:POAccrualAccount></orac:POAccrualAccount>
    <!--Optional:-->
    <orac:POBudgetAccount></orac:POBudgetAccount>
    <!--Optional:-->
    <orac:POVarianceAccount></orac:POVarianceAccount>
    <!--Optional:-->
    <orac:ChargeAccountDescription></orac:ChargeAccountDescription>
    <!--Optional:-->
    <orac:BudgetAccountDescription></orac:BudgetAccountDescription>
    <!--Optional:-->
    <orac:AccrualAccountDescription></orac:AccrualAccountDescription>
    <!--Optional:-->
    <orac:VarianceAccountDescription></orac:VarianceAccountDescription>
    <!--Optional:-->
    <orac:Project></orac:Project>
    <!--Optional:-->
    <orac:Task></orac:Task>
    <!--Optional:-->
    <orac:Award></orac:Award>
    <!--Optional:-->
    <orac:ExpenditureType></orac:ExpenditureType>
    <!--Optional:-->
    <orac:ExpenditureOrganization></orac:ExpenditureOrganization>
    <!--Optional:-->
    <orac:ExpenditureDate></orac:ExpenditureDate>
    <!--Optional:-->
    <orac:ProjectsContractLineNum></orac:ProjectsContractLineNum>
    <!--Optional:-->
    <orac:ProjectsDeliverableNum></orac:ProjectsDeliverableNum>
    <!--Optional:-->
    <orac:EndItemUnitNum></orac:EndItemUnitNum>
    <!--Optional:-->
    <orac:DestinationChargeAccountDescription></orac:DestinationChargeAccountDescription>
    <!--Optional:-->
    <orac:DestinationVarianceAccountDescription></orac:DestinationVarianceAccountDescription>
    <!--Optional:-->
    <orac:DestinationVarianceAccount></orac:DestinationVarianceAccount>
    </orac:PoDistributions>
    </orac:PoShipments>
    </orac:PoLines>
    <!--Zero or more repetitions:-->
    <orac:PoBpaDistributions>
    <!--Optional:-->
    <orac:Encumber></orac:Encumber>
    <!--Optional:-->
    <orac:BudgetAccount></orac:BudgetAccount>
    <!--Optional:-->
    <orac:GLDate></orac:GLDate>
    <!--Optional:-->
    <orac:AmountToEncumber></orac:AmountToEncumber>
    </orac:PoBpaDistributions>
    <orac:OperatingUnit>Vision Operations</orac:OperatingUnit>
    <orac:PONum>6194</orac:PONum>
    <!--Optional:-->
    <orac:RevisionNum></orac:RevisionNum>
    <orac:DocumentType>Standard Purchase Order</orac:DocumentType>
    <!--Optional:-->
    <orac:CreationDate></orac:CreationDate>
    <!--Optional:-->
    <orac:Supplier></orac:Supplier>
    <!--Optional:-->
    <orac:SupplierSite></orac:SupplierSite>
    <!--Optional:-->
    <orac:SupplierContact></orac:SupplierContact>
    <!--Optional:-->
    <orac:ShipToLocation></orac:ShipToLocation>
    <!--Optional:-->
    <orac:BillToLocation></orac:BillToLocation>
    <!--Optional:-->
    <orac:Currency></orac:Currency>
    <orac:Buyer>31994</orac:Buyer>
    <!--Optional:-->
    <orac:Status></orac:Status>
    <!--Optional:-->
    <orac:POTotal></orac:POTotal>
    <!--Optional:-->
    <orac:AmounttAgreed></orac:AmounttAgreed>
    <!--Optional:-->
    <orac:HeaderDescription></orac:HeaderDescription>
    <!--Optional:-->
    <orac:PCard></orac:PCard>
    <!--Optional:-->
    <orac:AmountReleased></orac:AmountReleased>
    <!--Optional:-->
    <orac:GlobalAgreementFlag></orac:GlobalAgreementFlag>
    <!--Optional:-->
    <orac:PaymentTerms></orac:PaymentTerms>
    <!--Optional:-->
    <orac:FreightTerms></orac:FreightTerms>
    <!--Optional:-->
    <orac:Carrier></orac:Carrier>
    <!--Optional:-->
    <orac:FreeOnBoard></orac:FreeOnBoard>
    <!--Optional:-->
    <orac:PayOn></orac:PayOn>
    <!--Optional:-->
    <orac:TransportationArranged></orac:TransportationArranged>
    <!--Optional:-->
    <orac:ConfirmingOrder></orac:ConfirmingOrder>
    <!--Optional:-->
    <orac:Firm></orac:Firm>
    <!--Optional:-->
    <orac:AcceptanceRequired></orac:AcceptanceRequired>
    <!--Optional:-->
    <orac:AcceptanceDueDate></orac:AcceptanceDueDate>
    <!--Optional:-->
    <orac:SupplyAgreement></orac:SupplyAgreement>
    <!--Optional:-->
    <orac:SupplierNote></orac:SupplierNote>
    <!--Optional:-->
    <orac:ReceiverNote></orac:ReceiverNote>
    <!--Optional:-->
    <orac:EffectiveStartDate></orac:EffectiveStartDate>
    <!--Optional:-->
    <orac:EffectiveEndDate></orac:EffectiveEndDate>
    <!--Optional:-->
    <orac:AmountLimit></orac:AmountLimit>
    <!--Optional:-->
    <orac:MinimumHeaderReleaseAmount></orac:MinimumHeaderReleaseAmount>
    <!--Optional:-->
    <orac:PriceUpdateTolerance></orac:PriceUpdateTolerance>
    <orac:PoHeaderId>91781</orac:PoHeaderId>
    </orac:PoHeaders>
    </pox:queryPurchaseOrder_Request>
    </soapenv:Body>
    </soapenv:Envelope>
    Now when i run this, I get the below error in the SOAP UI Tool:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <Error>[Ljava.lang.StackTraceElement;@118da51</Error>
    </env:Body>
    </env:Envelope>
    Can u please suggest any solution to resolve this error.
    Thanks & Regards,
    Aboothahir M

    Hello All,
    I checked in the log.xml file in the apps server and got the below error:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:24.110+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>security</MODULE_ID>
    <THREAD_ID>12</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885623:9.126.177.20:24571:0:38</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Error when intializing assertion issuer context </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.IllegalArgumentException: Invalid assertion
         at oracle.security.jazn.callback.SAMLTokenCallbackInternal.setAssertion(SAMLTokenCallbackInternal.java:70)
         at oracle.security.jazn.callback.WSSCallbackHandler.handle(WSSCallbackHandler.java:107)
         at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:955)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:951)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initializeAssertionIssuerContext(SAMLLoginModule.java:278)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initializeProperties(SAMLLoginModule.java:233)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initialize(SAMLLoginModule.java:91)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.wss.jaas.JAASAuthManager.invokeLogin(JAASAuthManager.java:109)
         at oracle.security.wss.jaas.JAASAuthManager.authenticate(JAASAuthManager.java:174)
         at oracle.security.wss.UsernameTokenProcessor.getSubject(UsernameTokenProcessor.java:143)
         at oracle.security.wss.WSSecurity.process(WSSecurity.java:1107)
         at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleInbound(AbstractSecurityInterceptor.java:131)
         at oracle.security.wss.interceptors.ServiceInterceptor.handleRequest(ServiceInterceptor.java:60)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.handleRequest(InterceptorChainImpl.java:124)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorPipeline.handleRequest(AbstractInterceptorPipeline.java:87)
         at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:452)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:750)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:112)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:25.524+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04005</MSG_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>14</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885621:9.126.177.20:24505:0:46</UNIQUE_ID><SEQ>6</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: The security token could not be authenticated or authorized.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:25.527+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04005</MSG_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>12</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885623:9.126.177.20:24571:0:38</UNIQUE_ID><SEQ>6</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: The security token could not be authenticated or authorized.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:56:08.311+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04052</MSG_ID>
    <MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>13</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885960:9.126.177.20:23538:0:57</UNIQUE_ID><SEQ>242</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    By
    Aboo

Maybe you are looking for