Calling DOO standard web service in ADF custom order Capture form

Hi
I am trying to call the standard DOO web service in my ADF form and I am using web service data control to call that service. But when I am dragging and drooping the method in my page with the parameters needed for that particular method and try to run the page. Its giving a null pointer exception. The main parameter for that method is _payload which wants an EBM to be passed to it.
DOO is a distributed Order Orchestration which is part of SCM fusion module. In fusion we can capture the order from different places from a legacy system from an EBS or any other application and then that captured order is passed to
DOO of fusion by calling a standard web service. But we don't have a order capture form built in ADF from where we can enter order and then pass this info to the DOO web service.
EBM is Enterprise business message,it is an xml format file which is passed to the DOO of fusion.It accept only EBM format xml in which capture order data is dere with EBM header and the data area which contains the order information.
The name of the method in web service which is called in j developer is SalesOrderOrchestrationService_pt_SubmitTransformAssignLaunch(__payload). payload is the parameter which accepts the EBM file.
The sample of an EBM or the xml which is passed to this method of web service as a payload is below.
<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" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>ALALL</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ssiER3#1</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2">
<ProcessSalesOrderFulfillmentEBM xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2" xmlns:coresalesorder="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2">
<corecom:EBMHeader xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Sender>
<corecom:ID>LEG1</corecom:ID>
<corecom:Application>
<corecom:ID>CRM</corecom:ID>
<corecom:Version>8.0</corecom:Version>
</corecom:Application>
<corecom:ContactName>Siebel contact</corecom:ContactName>
<corecom:ContactEmail>[email protected]</corecom:ContactEmail>
<corecom:ContactPhoneNumber>1234567891</corecom:ContactPhoneNumber>
</corecom:Sender>
</corecom:EBMHeader>
<coresalesorder:DataArea>
<corecom:Process responseCode="OBJECT" xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"/>
<coresalesorder:ProcessSalesOrderFulfillment>
<corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_ID_GUID">31343933343333353331383237343632</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrderNumber">TEST-ALALL-2</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrderId">TEST-ALALL-2</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:Identification>
<coresalesorder:CurrencyCode>USD</coresalesorder:CurrencyCode>
<coresalesorder:OrderDateTime>2013-02-04T10:58:32Z</coresalesorder:OrderDateTime>
<coresalesorder:PartialShipmentAllowedIndicator/>
<coresalesorder:PricingDateTime>2013-02-04T10:58:32Z</coresalesorder:PricingDateTime>
<coresalesorder:RequestedShipDateTime/>
<coresalesorder:FulfillmentModeCode/>
<coresalesorder:ShipmentPriorityCode>NEXTDAY</coresalesorder:ShipmentPriorityCode>
<coresalesorder:TypeCode>ORDER</coresalesorder:TypeCode>
<corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>BOOKED</corecom:Code>
<corecom:EffectiveDateTime>2013-02-04T23:40:42</corecom:EffectiveDateTime>
</corecom:Status>
<corecom:CurrencyExchange xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:ConversionTypeCode/>
<corecom:ConversionRate/>
<corecom:ConversionRateDateTime/>
</corecom:CurrencyExchange>
<corecom:BusinessUnitReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessUnitIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="ORGANIZATION_ID">A40A64204F0811DDBFBB6925DE4959D4</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="InventoryOrganizationId">300000001130177</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrganizationId">300000001130053</corecom:ID>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrganizationId">300000001130053</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:BusinessUnitIdentification>
</corecom:BusinessUnitReference>
<corecom:CustomerPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:PartyIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_PARTYID_GUID">2d383037373236333033353335383233</corecom:BusinessComponentID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="AccountId">300000002605080</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:PartyIdentification>
<corecom:OrganizationName/>
<corecom:CustomerPartyAccountIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_ACCOUNTID_GUID">2d363038363737353331313735393632</corecom:BusinessComponentID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="AccountId">300000002605080</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:CustomerPartyReference>
<coresalesorder:SalesOrderLine>
<corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineId">101</corecom:ID>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">88290</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:Identification>
<corecom:ParentSalesOrderLineIdentification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="ParentLineId"/>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">88290</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:ParentSalesOrderLineIdentification>
<corecom:RootParentSalesOrderLineIdentification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="RootParentLineId"/>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">90</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:RootParentSalesOrderLineIdentification>
<coresalesorder:SubstitutionAllowedIndicator/>
<coresalesorder:SourceTypeCode/>
<coresalesorder:PreferredGradeCode/>
<coresalesorder:CatchWeightMeasure/>
<corecom:EffectiveTimePeriod xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:StartDateTime/>
<corecom:EndDateTime/>
</corecom:EffectiveTimePeriod>
<coresalesorder:GrossWeightMeasure>0</coresalesorder:GrossWeightMeasure>
<coresalesorder:TypeCode>ORDER</coresalesorder:TypeCode>
<coresalesorder:Description>Servers</coresalesorder:Description>
<coresalesorder:OrderQuantity unitCode="EA">1</coresalesorder:OrderQuantity>
<corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>PENDING</corecom:Code>
</corecom:Status>
<corecom:ItemReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:ItemIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="ITEM_ID_GUID">61</corecom:BusinessComponentID>
<corecom:ContextID/>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="ProductId">AS85008</corecom:ID>
<corecom:ContextID>300000001130177</corecom:ContextID>
</corecom:AlternateObjectKey>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="ProductId">AS85008</corecom:ID>
<corecom:ContextID>300000001130177</corecom:ContextID>
</corecom:ApplicationObjectKey>
<corecom:CustomerItemID schemeAgencyID="SEBL_01" schemeID="ProductId"/>
</corecom:ItemIdentification>
<corecom:Name/>
<corecom:TypeCode/>
<corecom:Description>Computer</corecom:Description>
</corecom:ItemReference>
<coresalesorder:FulfillmentModeCode/>
<coresalesorder:SalesOrderSchedule>
<corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_SCHEDULE_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="SalesOrderScheduleNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="SalesOrderScheduleId">101</corecom:ID>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">201</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:Identification>
<corecom:ShipmentSet xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Name/>
</corecom:ShipmentSet>
<coresalesorder:ExtendedAmount currencyCode="USD">18762.00</coresalesorder:ExtendedAmount>
<coresalesorder:GrossWeightMeasure>0</coresalesorder:GrossWeightMeasure>
<coresalesorder:Description>Servers</coresalesorder:Description>
<coresalesorder:OrderQuantity unitCode="Ea">1</coresalesorder:OrderQuantity>
<coresalesorder:RequestedShipDateTime>2013-06-25T10:58:32Z</coresalesorder:RequestedShipDateTime>
<coresalesorder:ScheduledShipDateTime/>
<coresalesorder:ScheduledArrivalDateTime/>
<coresalesorder:RequestedDeliveryDateTime/>
<coresalesorder:LatestRequestedDeliveryDateTime/>
<coresalesorder:LatestRequestedShipDateTime/>
<coresalesorder:LatestRequestedShipDateTime/>
<coresalesorder:EarliestShipDateTime/>
<coresalesorder:ShipmentPriorityCode/>
<coresalesorder:FulfillmentModeCode/>
<coresalesorder:FOBPointCode/>
<coresalesorder:ModeOfTransportCode>Air</coresalesorder:ModeOfTransportCode>
<coresalesorder:ReasonCode/>
<coresalesorder:ServiceLevelCode>Next day air</coresalesorder:ServiceLevelCode>
<corecom:CarrierPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:PartyIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>10010</corecom:ID>
<corecom:ContextID>100010023895555</corecom:ContextID>
</corecom:ApplicationObjectKey>
</corecom:PartyIdentification>
</corecom:CarrierPartyReference>
<corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>PENDING</corecom:Code>
</corecom:Status>
<corecom:PaymentTerm xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>4</corecom:Code>
</corecom:PaymentTerm>
<corecom:CustomerPurchaseOrderShipmentReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:PurchaseOrderLineIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>Line # 1</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:PurchaseOrderLineIdentification>
<corecom:PurchaseOrderIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>PO#A1</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:PurchaseOrderIdentification>
</corecom:CustomerPurchaseOrderShipmentReference>
<corecom:UnitListPrice xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Amount currencyCode="USD">18762.00</corecom:Amount>
</corecom:UnitListPrice>
<corecom:UnitSalePrice xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Amount currencyCode="USD">18762.00</corecom:Amount>
</corecom:UnitSalePrice>
<corecom:ShipFromPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:LocationReference>
<corecom:LocationIdentification>
<corecom:ID>100010023895555</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID>300000001130184</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_PARTYCONTACTID_GUID">300000001201066</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:LocationIdentification>
</corecom:LocationReference>
</corecom:ShipFromPartyReference>
<coresalesorder:SalesOrderShipToParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:CustomerPartyAccountContactIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003212320</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountContactIdentification>
<corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003679213</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:ShipToPartyReference>
<corecom:CustomerPartyAccountIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000002605080</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:ShipToPartyReference>
</coresalesorder:SalesOrderShipToParty>
<coresalesorder:SalesOrderBillToParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:CustomerPartyAccountContactIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003212320</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountContactIdentification>
<corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003679211</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:BillToPartyReference>
<corecom:CustomerPartyAccountIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000002605080</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:BillToPartyReference>
</coresalesorder:SalesOrderBillToParty>
<coresalesorder:ShipmentInstruction/>
<coresalesorder:PackingInstruction/>
<coresalesorder:TotalAmount/>
<coresalesorder:PricingDateTime/>
<coresalesorder:PurchaseDate/>
</coresalesorder:SalesOrderSchedule>
</coresalesorder:SalesOrderLine>
<coresalesorder:SalesOrderCustomerParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:CustomerPartyAccountContactIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID/>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountContactIdentification>
<corecom:CustomerPartyReference>
<corecom:CustomerPartyAccountIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000002605080</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:CustomerPartyReference>
</coresalesorder:SalesOrderCustomerParty>
<coresalesorder:ModeOfTransportCode/>
<coresalesorder:ServiceLevelCode/>
<coresalesorder:TotalAmount currencyCode="USD">70.94</coresalesorder:TotalAmount>
<coresalesorder:EarliestShipDateTime/>
<coresalesorder:PricingDateTime/>
<corecom:SourceDocumentReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:DocumentIdentification>
<corecom:ID>ShipOrderGenericProcess</corecom:ID>
</corecom:DocumentIdentification>
</corecom:SourceDocumentReference>
</coresalesorder:ProcessSalesOrderFulfillment>
</coresalesorder:DataArea>
</ProcessSalesOrderFulfillmentEBM>
</soap:Body>
</soap:Envelope>
Can I get a help on this and my question is in j developer when I make a web service data control and drag and drop that method in to my pages submit button with text box taking this EBM or xml as entry and when I submit this its giving a null pointer exception. How can I overcome this.
Regards
Satbir Singh

Hi,
for complex services like this the recommendation is to use a JAX-WS proxy client, put a POJO in front (wrapper) to access information and methods to expose in the application and create a POJO DC from the wrapper. This not only is more powerful and allows you to intercept data calls, it also gives you a netter option for debugging and error handling in case something fails.
Frank

Similar Messages

  • How to call OWSM secured web-service from ADF application

    I have a OWSM secured web-service, which takes username/password.
    I want to invoke this webservice from ADF application. ADF application has its own security and it takes its own username/password. End user can't provide the username/password for web-service call. My ADF application should call the webservice and provide it appropriate username/password.
    What is the best practice to handle such scenario. I don't want to hardcode username/password in Java (ADF) code.
    Thanks
    Sanjeev.

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • Calling Web services from ADF and JSF Jdeveloper 10.1.3.1

    Hi I need some examples/documentation about building a ADF application (user interface JSP pages) using only web services calls, instead of EJB or any other entities.
    For example, one web service would give details for a customers (parameters ID, Name,etc), another web service return all orders for a specific customer (parameter customer ID), and so.
    Somne advice, tutorial??
    Thanks!
    John.

    Thanks... I already saw this demo, very good, but uses web service input parameter in one page and result in another,
    But in my case I have to do next:
    1.- In one page 1 the result of web service method 1, (customer list) with option to select one of them and view his orders (page 2).
    2.- Page 2. list of customer's orders (result of web service method 2). This method should be called from page 1, with parameter = customer id selected.
    I have Web service data control, buit page 1 and page 2 (OK), but I dont know how to link and pass customer id parameter to invoke web service method 2...
    Any idea, help?
    Thanks.

  • Calling web Service from the Custom Adapter.Is it Possible?

    Hi Experts,
                    I am having requirment in which i have to cal com.sap.aii.mapping.lookup.LookupService for calling web Service from the Custom Adapter.Is it Possible?
    Regards,
    Rajesh.D

    Hi Rajesh..
    Just looking the problem in another angle.. if there is no constraint that you have to use XI specific API to call the web service, why dont you use usual Java API used for calling a web service inside you custom adapter (I have Microsoft background.. donno exactly how it is done in Java,, but in .NET kind of a language it is possible). SInce your adapter is in Java itself and is capable of calling web service.. collect or lookup the data whatever you want and validate...
    Just a thought..
    VJ

  • Standard Web Service and Customized Web Services with or without PI?

    Hi All,
    I want to know how I can use Standard Web Service available in SAP  and customized Web Services
    without PI Interface?
    And what is the best practice to expose services ,via PI Interface or directly?
    Thanks in advance!!
    Pushkar

    This is purely based on your requirement. If you use PI middleware to expose web services, you get standard functionalities such as certificate authentication, logging, message reprocessing for the failed messages etc.  If your requirement is so simple, then you might not need PI. In this case you can develop simple webdynpro for abap program to create webservice and expose the webservice in ECC webservice runtime. You can let anyone to consume within your network. other ways like exposing BAPI/RFC as webservice.  I would recommend going with PI.

  • While consuming Fusion CRM web service in ADF mobile throwing an error

    Hi,
    I am developing ADF Mobile using JDeveloper
    11.1.2.3 and consuming Fusion CRM ADF Web Services.
    While executing CRUD operations with these web services
    in ADF mobile app, I am getting SOAP response as *Error in getting response
    and got result nothing *.
    And also noticed as using JDeveloper ADF mobile App, unable to create URL service
    Data Control - REST based for FUsion CRM web services. Where as I am able to
    create SOAP based web services data control. It' strange or surprise.
    Did anyone face the above problems. Kindly let me know any suggestions or
    samples to the below contacts
    Regards
    Bhaskara Reddy S
    00919008466722
    bhaskara.sannapureddy at Crmit.com

    Dear Frank,
    Based on below links, Fusion CRM also supports REST also apart from regular SOAP Web Services.
    http://niallcblogs.blogspot.in/2012/10/204-calling-rest-service-from-fusion-crm.html AND
    http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e20388/F412758AN17B21.htm
    (For e.g one of linked in profile :http://www.linkedin.com/in/minalkhodani , many teams are developing using SOAP & REST)
    Designed and developed integration services using SOAP and REST web services for Oracle Fusion CRM Marketing Modules.)
    When creating URL based data control, getting an Error as "Forbidden" , (Does it mean NOT SUPPORTED??) . Kindly advice.
    I am calling WEB SERVICE thru SOAP in AMX PAGE code as below after creating Web Services Data Control from ADF Mobile UI thru JDeveloper IDE.
    == CODE SNIPPET OF AMX PAGE CALLING SOAP FUSION CRM WEB SERVICE =======
    <?xml version="1.0" encoding="UTF-8" ?>
    <amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
    xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
    <amx:panelPage id="pp1">
    <amx:panelFormLayout id="pfl2">
    <amx:inputText value="#{bindings.name.inputValue}" label="Person First Name" id="it1"/>
    <amx:inputText value="300000001210220" label="Person Object Id" id="it2"/>
    </amx:panelFormLayout>
    <amx:facet name="header">
    <amx:outputText value="Create Person in Fusion CRM" id="ot1"/>
    </amx:facet>
    <amx:facet name="primary">
    <amx:commandButton id="cb1" text="Back" action="__back"/>
    </amx:facet>
    <amx:facet name="secondary">
    <amx:commandButton id="cb2"/>
    </amx:facet>
    <amx:panelFormLayout id="pfl1">
    </amx:panelFormLayout>
    <amx:outputText value="#{bindings.message.inputValue}" id="ot2"/>
    <amx:outputText value="#{bindings.code.inputValue}" id="ot3"/>
    *<amx:commandButton actionListener="#{bindings.createPerson.execute}" text="createPerson"*
    *disabled="#{!bindings.createPerson.enabled}" id="cb3"/>*
    <amx:iterator var="row" value="#{bindings.personParty1.collectionModel}" id="i1">
    <amx:panelLabelAndMessage label=" 300000001210220" id="plam2">
    <amx:outputText value="#{row.PartyId}" id="ot5">
    <amx:convertNumber groupingUsed="false"/>
    </amx:outputText>
    </amx:panelLabelAndMessage>
    <amx:panelLabelAndMessage label="#{bindings.name.inputValue}" id="plam1">
    <amx:outputText value="#{row.PersonFirstName}" id="ot4"/>
    </amx:panelLabelAndMessage>
    </amx:iterator>
    </amx:panelPage>
    </amx:view>
    Regards
    Bhaskara Reddy

  • Problems with UTL_DBWS calling out a web service.

    I´m using ORACLE 10G 10.2.0 and i ´ve downloaded the dbws-callout-utility-10R2.zip utility l´ve unziped it and launched it .
    the command loadjava -u SCOTT/passwd -r -v -f -genmissing dbwsclientws.jar dbwsclientdb102.jar ended without errors.
    then I gave grant access using the following commands
    the environment variable is
    $TMPCLASSPATH=$ORACLE_HOME/sqlj/lib/dbwsa.jar:$ORACLE_HOME/jdk/lib/dt.jar:$ORACLE_HOME/jdk/lib/tools.jar:$ORACLE_HOME/sqlj/lib/runtime12.jar:$ORACLE_HOME/sqlj/lib/translator.jar:$ORACLE_HOME/javavm/lib/aurora.zip:$ORACLE_HOME/rdbms/jlib/xdb.jar:$ORACLE_HOME/lib/xsu12.jar:$ORACLE_HOME/jlib/jndi.jar:$ORACLE_HOME/rdbms/jlib/aqapi.jar:$ORACLE_HOME/rdbms/jlib/jmscommon.jar:$ORACLE_HOME/lib/xmlparserv2.jar:$ORACLE_HOME/jlib/orai18n.jar:$ORACLE_HOME/jdbc/lib/ojdbc14.jar
    call dbms_java.grant_permission( 'SCOTT','SYS:java.lang.RuntimePermission', 'shutdownHooks', '' );
    COMMIT;
    call dbms_java.grant_permission( 'SCOTT', 'SYS:java.util.logging.LoggingPermission', 'control', '' );
    COMMIT;
    call dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'setFactory', '' );
    COMMIT;
    then I created the package running UTL_DBWS .SQL scripts
    when I run a test for calling out the web service I got the next error.
    ORA-29532: UNCAUGHT JAVA EXCEPTION : Java.Lang.IllegalAccessException: java.lang.ExceptionLnLn
    at line
    " function create_service_proxy(wsdl_Document_Location VARCHAR2, service_Name VARCHAR2) return SERVICE
    as language java 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long' "
    name 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long';
    Is necessary to install the jpublisher in addition for a sucessfully web service calling out?
    what goes wrong?
    Thanks for the soon answer.

    I have exactly the same problem.
    All possible grants are made.
    Running as SYS is not functioning as well.
    The same installation (the same jar's, the same utl_dbws version, the same database version) does function on two other (developers team's) servers .
    The differences are:
    Where it functions: Oracle database Enterprise edition on Windows (Windows 7, Vista)
    Where it does not function: Oracle database Stadard edition on Unix
    I have gone though a decent number of forums and other on-line resources with no success. Solutions available are to grant missing permissions. However these solutions are based on the assumption that under SYS user everything functions properly.
    In my case, this does not function even under SYS as SYSDBA.
    I will highly appreciate any recommendations!
    Best Regards,
    Michail
    P.S.
    Database: Oracle 10.2.0.1 Standard edition installed on Unix

  • C# Calling SAP RFC/Web Service Failure

    Hi SAP Experts,
    I am facing this problem. When an external system is calling my SAP RFC/Web Service, the external system(which is not SAP) is not getting the correct value. But when I test the RFC in SAP GUI It is working correctly. When I test between SAP server A & SAP Server B it is working correctly which is the recepient server is getting the correct value. What might cause this problem ? Urget help is needed here. Thanks.

    Hi Hadi,
    U need to expose a custom RFC as a Web Service. This is a simple web service that returns Customer Data (from kna1) based on the Customer ID which we provide as input.
    In the RFC, U have to declare an internal table (G_RET) in the tables section of the RFC.
    Now, U have to test the web service, U can see a check box with NULL option beside the G_RET.
    cheers,
    Hema.

  • Standard Web Service to get message audit log?

    Hi,
    Is there any standard web service to get the audit log of a message based on its message id?
    Thanks in advance.

    Standard web service is not available....however if you want to get the audit log details then you need to make a JCo call (if i am not wrong) to one of the SAP tables: XI_AF_MSG_AUDIT
    Regards,
    Abhishek.

  • Calling an external web service from SharePoint 2010

    Hi Friends,
    Idea is to call an external web service from SharePoint 2010 list.
    Can we do this using visual studio 2010, how.
    another pointers, please advise.

    Hi,
    You can create Windows Communication Foundation (WCF) web services that you can consume as external content types from Microsoft Business Connectivity Services (BCS).
    For more information, you can refer to:
    http://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/connecting-to-a-web-service-using-business-connectivity-serv/
    http://blogs.msmvps.com/windsor/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to call a secure web service via XAI Sender in CC&B

    Hi All,
                I want to a call a secure web service from CC&B through out bound message. I have configured the calling  WSDL in XAI Sender. The wevservice is secured one.I tried to call it by configuring user name and password in XAI sender context.But still i am not able to call the service.
    Can anybody help me how to over come this issue ??
    I have cretaed the same post under utilities,but i am not able reply it.
    I am using HTTPSNDR  as XAI class.
    Thanx in advance.
    Regards
    sunil

    Are you getting any errors? What type of XAI Class are you using?
    One thing I've noticed is that if you are making changes to the XAI Sender you will have to restart the environment before the changes can take effect.
    Also, if you are using RTHTTPSNDR as XAI Class you may have to include the HTTP Method - Post in the context.
    Hope this helps.
    Regards,
    Philip

  • How to call a SAPME web service from MII

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    Hi,
    I can config the SAPME web service ItemServiceService
    I used Config Links to assign values in request ItemByBasicDataQuery_sync, such as material, revision, site.
    But get a almost empty response ItemByBasicDataResponse_sync, I wrote both web service request and response in file as  below.
    What did I missed?  Thanks!
    request:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ItemByBasicDataQuery_sync xmlns="http://sap.com/xi/ME">
    - <ItemByBasicDataQuery>
      <Item>MA1</Item>
      <Revision>A</Revision>
    - <SiteRef>
      <Site>HP</Site>
      </SiteRef>
      </ItemByBasicDataQuery>
      </ItemByBasicDataQuery_sync>
    response:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ItemByBasicDataResponse_sync xmlns="http://sap.com/xi/ME">
    - <Item>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemType>K</ItemType>
      <IncrementBatchNumber>S</IncrementBatchNumber>
      <LotSize>0.00</LotSize>
    - <StatusRef>
      <Status languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </StatusRef>
      <EffectivityControl>R</EffectivityControl>
      <Description languageCode="" />
      <UnitOfMeasure languageCode="" />
      <AssignSerialAtRelease>false</AssignSerialAtRelease>
    - <AssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </AssyDataTypeRef>
    - <InventoryAssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </InventoryAssyDataTypeRef>
    - <RemovalAssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </RemovalAssyDataTypeRef>
      <CreateTrackableSFC>I</CreateTrackableSFC>
    - <BomRef>
      <Bom />
      <Revision />
      <BomType>S</BomType>
    - <SiteRef>
      <Site />
      </SiteRef>
      </BomRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
      <CurrentRevision>true</CurrentRevision>
      <DrawingName languageCode="" />
      <EffectiveEndDate daylightSavingTimeIndicator="true" timeZoneCode="" />
      <EffectiveEndSequence unitCode="">0.00</EffectiveEndSequence>
      <EffectiveStartDate daylightSavingTimeIndicator="true" timeZoneCode="" />
      <EffectiveStartSequence unitCode="">0.00</EffectiveStartSequence>
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
    - <MaskGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <MaskGroup languageCode="" />
      </MaskGroupRef>
      <MaximumUsage unitCode="">0.00</MaximumUsage>
      <Panel>true</Panel>
      <PreAssembled>true</PreAssembled>
      <QuantityMultiplier>0.00</QuantityMultiplier>
      <QuantityRestriction>W</QuantityRestriction>
    - <SelectorActivityRef>
      <Activity languageCode="" />
      </SelectorActivityRef>
      <SelectorNote languageCode="" />
    - <TransferItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </TransferItemGroupRef>
      <UseCompFromDrawing>true</UseCompFromDrawing>
      <IsCollector>true</IsCollector>
      <CollectParentSerial>true</CollectParentSerial>
      <RequiresSerialNumberChange>true</RequiresSerialNumberChange>
    - <DocumentLinkList>
    - <DocumentLink>
    - <DocumentRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Document />
      <ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <Revision />
      </DocumentRef>
    - <DocumentContext>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
      <OperationRef />
    - <SiteRef>
      <Site />
      </SiteRef>
      </DocumentContext>
      <Sequence unitCode="">0.00</Sequence>
      </DocumentLink>
      </DocumentLinkList>
    - <ItemLocationList>
    - <ItemLocation>
      <Location languageCode="" />
      <Description languageCode="" />
      <Sequence unitCode="">0.00</Sequence>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemLocation>
      </ItemLocationList>
    - <ItemAlternateList>
    - <ItemAlternate>
    - <AlternateItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </AlternateItemRef>
      <Sequence unitCode="">0.00</Sequence>
      <Substitute>true</Substitute>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
      <RequiredSubstitute>true</RequiredSubstitute>
      <ValidAssembly languageCode="" />
      <ValidEnd daylightSavingTimeIndicator="true" timeZoneCode="" />
      <ValidRevision />
      <ValidStart daylightSavingTimeIndicator="true" timeZoneCode="" />
      </ItemAlternate>
      </ItemAlternateList>
    - <ItemDPMOList>
    - <ItemDPMO>
      <Opportunities unitCode="">0.00</Opportunities>
    - <OperationRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Operation />
      <Revision />
      </OperationRef>
      <ForAllOperations>true</ForAllOperations>
      <ForAllDpmoCategories>true</ForAllDpmoCategories>
    - <DpmoCategoryRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <DpmoCategory>TERMINATION</DpmoCategory>
      </DpmoCategoryRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemDPMO>
      </ItemDPMOList>
    - <TransferDataList>
    - <TransferData>
    - <TransferParent>
      <ShopOrderRef />
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </TransferParent>
      <TransferType>N</TransferType>
    - <TransferSite>
      <Site />
      </TransferSite>
    - <AlarmTypeConfigRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <AlarmType languageCode="" />
      <TypeSpecific>true</TypeSpecific>
      </AlarmTypeConfigRef>
      <DefaultChoice>true</DefaultChoice>
    - <ExportTemplateRef>
      <TransferDataType>S</TransferDataType>
    - <SiteRef>
      <Site />
      </SiteRef>
      <TemplateName />
      </ExportTemplateRef>
      <ReceiveRequired>true</ReceiveRequired>
      </TransferData>
      </TransferDataList>
    - <ItemShopOrderTypeList>
    - <ItemShopOrderType>
    - <ShopOrderTypeRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <OrderType />
      </ShopOrderTypeRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemShopOrderType>
      </ItemShopOrderTypeList>
    - <CustomFieldList>
    - <CustomField>
      <Attribute languageCode="" />
      <Value languageCode="" />
      <Description languageCode="" />
      </CustomField>
      </CustomFieldList>
      <CreatedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <HoldId unitCode="">0.00</HoldId>
      <LastReleasedDate daylightSavingTimeIndicator="true" timeZoneCode="" />
    - <OriginalStatusRef>
      <Status languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </OriginalStatusRef>
      </Item>
      </ItemByBasicDataResponse_sync>

  • How can I call a SAPME web service from MII such as PlaceFutureHold?

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    With Web service action block you can view all ME available services
    in I.E
    https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl  you could see your FutureHold service
    To do that in MII, you need Web Service action block. Have you work with MII transaction before?
    (saw your post in MII)

  • How to call a Https Web service client (partner link)

    Hi,
    I am trying to call a https web service and having issues with it. I have copied the server certificate into my JDeveloper truststore as well as into OC4J truststore. I have successfully deployed the application but when I initiate the process and enter input values, it throws the following exception 'Security Requirements not met - No Security header in message'
    <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    Server
    </code>
    </part>
    - <part name="summary">
    <summary>
    Security Requirements not met - No Security header in message
    </summary>
    </part>
    - <part name="detail">
    <detail>
    <detail>
    <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.XWSSecurityException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
    <message xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">Security Requirements not met - No Security header in message</message>
    <ns2:stackTrace xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient" file="SecurityRecipient.java" line="738" method="createMessage"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient" file="SecurityRecipient.java" line="226" method="validateMessage"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.provider.wsit.WSITServerAuthContext" file="WSITServerAuthContext.java" line="471" method="verifyInboundMessage"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.provider.wsit.WSITServerAuthContext" file="WSITServerAuthContext.java" line="297" method="validateRequest"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.provider.wsit.WSITServerAuthContext" file="WSITServerAuthContext.java" line="211" method="validateRequest"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.webservice.CommonServerSecurityPipe" file="CommonServerSecurityPipe.java" line="168" method="processRequest"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.webservice.CommonServerSecurityPipe" file="CommonServerSecurityPipe.java" line="129" method="process"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.helper.PipeAdapter" file="PipeAdapter.java" line="115" method="processRequest"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="595" method="__doRun"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="554" method="_doRun"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="539" method="doRun"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="436" method="runSync"/
    >
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="243" method="process"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="444" method="handle"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="244" method="handle"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="135" method="handle"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.webservice.JAXWSServlet" file="JAXWSServlet.java" line="159" method="doPost"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="738" method="service"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="831" method="service"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="411" method="servletService"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardWrapperValve" file="StandardWrapperValve.java" line="290" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardContextValve" file="StandardContextValve.java" line="271" method="invokeInternal"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardContextValve" file="StandardContextValve.java" line="202" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="632" method="doInvoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="577" method="doInvoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.WebPipeline" file="WebPipeline.java" line="94" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardHostValve" file="StandardHostValve.java" line="206" method="invok
    e"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="632" method="doInvoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="577" method="doInvoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="571" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.ContainerBase" file="ContainerBase.java" line="1080" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardEngineValve" file="StandardEngineValve.java" line="150" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="632" method="doInvoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="577" method="doInvoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="571" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.ContainerBase" file="ContainerBase.java" line="1080" method="invoke"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.coyote.tomcat5.CoyoteAdapter" file="CoyoteAdapter.java" line="272" method="service"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask" file="DefaultProcessorTask.java" line="637" method="invokeAdapter"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask" file="DefaultProcessorTask.java" line="568" method="doProcess"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask" file="DefaultProcessorTask.java" line="813" method="process"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultReadTask" file="DefaultReadTask.java" line="341" method="executeProcessorTask"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="c
    om.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask" file="SSLReadTask.java" line="440" method="process"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask" file="SSLReadTask.java" line="228" method="doTask"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.TaskBase" file="TaskBase.java" line="265" method="run"/>
    <ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread" file="SSLWorkerThread.java" line="106" method="run"/>
    </ns2:stackTrace>
    </ns2:exception>
    </detail>
    </detail>
    </part>
    </remoteFault>
    </fault>
    Any help will be appreciated. I am using JDeveloper 10.1.3.3.0.
    Thanks

    Hmm, based on error it looks like service provider expecting some security headers. Are you able to test from other utility soapUI or browser?
    Regards,
    Chintan

  • New to Web Services - need to call a HTTPS web service from PL/SQL

    I am new to Web Services and need to call HTTPS web service from PL/SQL program. I am using 10g Database.
    I have been reading there are 2 options -
    1. UTL_HTTP - with this package its possible to call HTTPS web services
    2. UTL_DBWS
    Questions -
    1. Is it possible to call a HTTPS web service using UTL_DBWS ? I have not been able to find any information on it.
    2. Can someone point me to UTL_HTTP and UTL_DBWS examples calling a HTTPS web service ?
    3. The HTTPS web service that I need to call needs username/password to connect - how will I incorporate this in the pl/sql code ?
    Appreciate the help.
    Cheers,
    newWebServicesUser

    Hi,
    1. UTL_DBWS not work for https from what I understand
    2. Here is a sample example:
    [http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php#]
    Be careful, you must change http/1.0 IN 1.1 inside package SOAP_API.
    Here is an example for a prime number where the SOAP message is already construct:
    CREATE OR REPLACE procedure test_ws_2
    IS
    http_req utl_http.req;
    http_resp utl_http.resp;
    request_env varchar2(32767);
    response_env varchar2(32767);
    begin
    -- Set proxy details if no direct net connection.
    UTL_HTTP.set_proxy('http://<USER>:<PASS>@10.0.2.21:8070', NULL);
    UTL_HTTP.set_persistent_conn_support(TRUE);
    request_env:='<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">'||
    '<SOAP-ENV:Body><GetPrimeNumbers xmlns="http://microsoft.com/webservices/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'||
    '<max xsi:type="xsd:int">10</max>'||
    '</GetPrimeNumbers></SOAP-ENV:Body></SOAP-ENV:Envelope>';
    dbms_output.put_line('Length of Request:' || length(request_env));
    dbms_output.put_line ('Request: ' || request_env);
    http_req := utl_http.begin_request('http://www50.brinkster.com/vbfacileinpt/np.asmx','POST', utl_http.HTTP_VERSION_1_1);
    utl_http.set_header(http_req, 'Content-Type', 'text/xml; charset=utf-8');
    utl_http.set_header(http_req, 'Content-Length', length(request_env));
    utl_http.set_header(http_req, 'SOAPAction', '"http://microsoft.com/webservices/GetPrimeNumbers"');
    utl_http.write_text(http_req, request_env);
    dbms_output.put_line('');
    http_resp := utl_http.get_response(http_req);
    dbms_output.put_line('Response Received');
    dbms_output.put_line('--------------------------');
    dbms_output.put_line ( 'Status code: ' || http_resp.status_code );
    dbms_output.put_line ( 'Reason phrase: ' || http_resp.reason_phrase );
    utl_http.read_text(http_resp, response_env);
    dbms_output.put_line('Response: ');
    dbms_output.put_line(response_env);
    utl_http.end_response(http_resp);
    end test_ws_2;
    Otherwice for testing url, i recommand you to use that function: Re: Error using UTL_HTTP over HTTPS
    it's a verry helpful function when you have an error.
    wrote:
    When testing using UTL_HTTP, you MUST ensure that you open a new session after importing the SSL certificates into your Wallet,
    as I've learned (the hard way) that existing sessions point to the wallet contents that were present when the session was opened.
    If you don't realise/know this, it can cause a lot of additional frustration during testing, when you keep getting the ORA-29024 exception AFTER
    you've imported the SSL certificates................. ;) 3. i think you can use that after the begin_request but not sure :
    UTL_HTTP.set_authentication(r => http_req,
    username => ,
    password => ,
    scheme => ,
    for_proxy => );
    Edited by: Malebodja on Oct 22, 2009 6:53 AM
    Edited by: Malebodja on Oct 22, 2009 6:55 AM

Maybe you are looking for

  • HP Color LaserJet 2840 misidentified as 2830

    Hello, Everyone We were having problems with our HP Color LaserJet 2840 so I took it to a local computer store for repair.  (The problems were that the printer was squeaking really bad, and tray 2 had ceased working...)  So, I got it back from the sh

  • 2012 MBP will not boot after 10.8.4 update

    Has anyone else had problems with booting to 10.8.4?  I have a 2012 15" MBP with dual boot 10.8.4 and Win 8 via BC on a single Seagate Thin SSHD 1TB.  Win 8 will boot but the OS X drive will not even mount during boot.  I tried single user, verbose,

  • I just bought a new Canon 50D but can't open my raw files in Adobe CS4 Bridge or Photoshop.

    The files show up as CR2 files and I get a message saying "could not complete your request because it is the wrong kind of document.  I run on Windows XP.  I would appreciate your help.

  • Unrestricted Crop in LR3?

    How do I perform an unrestricted (freehand) crop in LR3? I see crop presets for various aspect ratios, for original ratio, or for a custom ratio that would be entered before performing the crop.  I need to be able to do an unrestricted crop like thos

  • Yahoo Videos not loading

    Yahoo suddenly this week keeps telling me that I need to download the Flash Player, yet I have had Flash Player on my computer forever.  I went ahead and removed it, and downloaded again.  Restarted computer and I still get the same message from Yaho