FlexBuilder web service consumer

I'm using well-tested web services that I imported into
FlexBuilder. Everything goes smoothly, but occasionally I face a
problem of not receiving anything back from the WS. This seems to
be some kind of a configuration issue, because exactly the same
code works on a different computer. It also works when I publish
the Flex application on the Apache server (from the Project menu)
and run it from there, but not "locally" making testing very slow
and debugging impossible.
Anybody any idea on this? Thanks

"taneojala" <[email protected]> wrote in
message
news:glqbm2$h0b$[email protected]..
> Yes, Apache is running on my localhost. Flex project
deployed in Apache's
> htdocs also works fine with webservices. The problem
appears "randomly"
> when
> running from FlexBuilder. I received the security
sandbox violation
> message and
> created crossdomain.xml, but I have seen the message
since that also -
> "randomly" again.
You're STILL not being clear. When you say that it's running
from Flex
Builder, is the swf file that is running physically located
in the bin-debug
directory next to your src directory, in your www directory
in your Apache
installation, or somewhere else?
If it's in the www directory and you test from Flex Builder,
do you see
localhost in the browser's address bar, or the file path to
the folder?
I think the very fact that you aren't understanding my
question is the
reason you're not able to figure out what the actual problem
is. You need
to understand how different directories and protocols can
give you different
sandbox results, and clearly you're not even thinking about
where your files
physically _are_, much less how that could relate to your
problem.

Similar Messages

  • Web service consumer wizard in ECC 6.0 SP17

    Hi,
    I'm trying to create web service consumer using the wizard. I completed the step and click finish button at the end of the wizard. However, the process is just stop there and the main menu SAP Easy Access is displayed. No objects created.
    I can generate the object after clicking the finish in the wizard on ECC 6.0 SP15.
    Any idea on what can I do to generate objects so I can consume the webservice?
    Additional info: When I tried this on different system with SP17, I got message 'no vendor specified' after the wizard analyzing WSDL given in the url. No service provider object is created after that message is displayed. It is a success message (green).
    Thanks,
    Iwan
    Edited by: Iwan Santoso on Feb 12, 2009 5:48 PM
    Update: I had a brain ****... when selecting Create -> Web Service, there is an options for Service Consumer, which I thought this is how you generate the proxy. Actually I need to select Create -> Proxy Object. When I select the proxy object, it works just fine. A class is generated.
    However, in different system, there is no option to create Web Service and Proxy Object. It's on SP17 as well. I'm going to do additional research since in that system I do not have proper auth. for SICF transaction.
    Edited by: Iwan Santoso on Feb 12, 2009 7:27 PM

    Hi
    Q :- we activate ICF service? How?
    Just goto TCODE - SE38 and run program - RSXMB_ACTIVATE_ICF_SERVICES
                                                                    SXMB_ACTIVATE_ICF_SERVICES
    some ICF service must be inactive
    Activating ICF service is a generic requirement.
    Check SAP Note 750287
    Thanks !
    Edited by: Abhishek Agrahari on Jan 8, 2009 9:22 AM

  • How to use a cascading LOV as a Web Services Consumer?

    How to use a cascading LOV as a Web Services Consumer?
    We are trying to populate a prompt programmatically.
    Our program is a Web Services Consumer.
    As an example we use Island Resorts Marketing
    The cascading LOV for City is
    Country -> Region -> City
    The City object is key-aware to the customer table
    The query is
    Customer | Revenue
    (where) City = [prompt]
    In order to make the key-awareness work, we must select the value (rowIndex) from the LOV
    When we run our program below, the LOV for City is not populated, as expected since we must first select the Country, then the Region.
    The code snippet below shows that the LOV for Country is populated. We have no idea how to go from there.
    Any hint will be immensely appreciated.
    Let us know if anything is unclear in the code.
    Source       
    RetrieveMustFillInfo retrieveMustFillInfo = RetrieveMustFillInfo.Factory.newInstance();
            RetrievePromptsInfo retrievePromptInfo = RetrievePromptsInfo.Factory.newInstance();
            retrievePromptInfo.setPromptLOVRetrievalMode(PromptLOVRetrievalMode.ALL);
            retrievePromptInfo.setRefreshReturnedLOVs(true);
            retrievePromptInfo.setReturnLOVOnMustFillPrompts(true);
            retrieveMustFillInfo.setRetrievePromptsInfo(retrievePromptInfo);
            // *-- need the "Refresh" action to get the .promptToBeFilled
            Action[] boActions = new Action[1];
            boActions[0] = Refresh.Factory.newInstance();
            try {
                documentInformation = reportEngine.getDocumentInformation(Integer.toString(infoObject.getID()), retrieveMustFillInfo, boActions, null, null);
                m_Token = documentInformation.getDocumentReference();
            } catch (Exception ex) {
                System.out.println(GetWSError(ex));
                return;
            if (documentInformation.getMustFillPrompts()) {
                PromptInfo[] promptInfoS = documentInformation.getPromptInfoArray();
                for (PromptInfo promptInfo : promptInfoS) {
                    System.out.println(String.format("Prompt '%1$s', hasLOV=%2$s", promptInfo.getName(), (promptInfo.getHasLOV() ? "Yes" : "No")));
                    if (promptInfo.getHasLOV()) {
                        LOV boLOV = promptInfo.getLOV();
                        for (Value boLOVValue : boLOV.getValuesArray()) {
                            System.out.println(String.format(" LOV item '%1$s' RowIndex=%2$s", boLOVValue.getColumnsArray(0), (boLOV.getRowIndexed() ? boLOVValue.getRowIndex() : "")));
                    System.out.println("--End LOV");
                    PromptInfo[] promptInfoS2 = promptInfo.getPromptToBeFilledArray();
                    if (promptInfoS2.length > 0) {
                        PromptInfo promptInfo2 = promptInfoS2[0];
                        System.out.println(String.format(" linked to %1$s", promptInfo2.getName()));
                        if (promptInfo2.getHasLOV()) {
                            LOV boLOV2 = promptInfo2.getLOV();
                            for (Value boLOVValue : boLOV2.getValuesArray()) {
                                System.out.println(String.format(" LOV item '%1$s' RowIndex=%2$s", boLOVValue.getColumnsArray(0), (boLOV2.getRowIndexed() ? boLOVValue.getRowIndex() : "")));
                            System.out.println("--End LOV");
    Result
    Prompt 'Enter value(s) for City:', hasLOV=Yes
    --End LOV
    linked to Enter value for Country of origin
    LOV item 'Australia' RowIndex=6
    LOV item 'France' RowIndex=2
    LOV item 'Germany' RowIndex=4
    LOV item 'Holland' RowIndex=7
    LOV item 'Japan' RowIndex=5
    LOV item 'UK' RowIndex=3
    LOV item 'US' RowIndex=1
    --End LOV

    Hi,
    Refer SAP Note 1278947. You would require a Service Market Place logon to access this article.
    Let me know if this helps.
    Regards,
    Shreyans Surana

  • How to send the SOAP Fault Message to the Web Service Consumer

    Hi,
    I have configured SAOP  to Proxy Syncronous Scenario in PI 7.1 and using XML Validation  in Adapter Engine to Validate the Structure of the Message Payload.The scenario is working fine.When some of the Filed's Length  increses the maxLength specified in the Data Type . We are getting the Following error.
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: XML Validation for payload with root element name MT_Out_CustomerMaster_FPMReq , target namespace http://Pegasystems.com/I06_Customers Failed!Errors Encountered During Parsing
    1.cvc-maxLength-valid: Value '123456789' with length = '9' is not facet-valid with respect to maxLength '8' for type 'null'.
    2.cvc-type.3.1.3: The value '123456789' of element 'CompanyCode' is not valid.
    3.cvc-maxLength-valid: Value 'asdf' with length = '4' is not facet-valid with respect to maxLength '1' for type 'null'.
    4.cvc-type.3.1.3: The value 'asdf' of element 'OperationType' is not valid.
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1164)
    My question is How does the Web Service Consumer can handle this Soap Server Error in the SOAP Fault.Or How can we provide a specific information like  'The value '123456789' of element 'CompanyCode' is not valid.It exceeds the Maximum Length'.
    I read this /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client blog .Where it is mentioned that the Web Service Consumer can handle while calling the Web Service.Is there any other solution?
    Kindly appreciate your help.

    Thank You Stefan for your kind reply.
    So  you mean to say if we use the XML Validation .we cannot provide proper error information to the calling Web Service Consumer .And While calling a Web Service they cannot Extract the Exact Message in the Text Filed(<text>) present under the Detail Element (<detail>) in the <SOAP:Fault> node. as
    <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: XML Validation for payload with root element name MT_Out_CustomerMaster_FPMReq , target namespace http://Pegasystems.com/I06_Customers Failed!Errors Encountered During Parsing
    1.cvc-maxLength-valid: Value '123456789' with length = '9' is not facet-valid with respect to maxLength '8' for type 'null'.
    2.cvc-type.3.1.3: The value '123456789' of element 'CompanyCode' is not valid.**
    3.cvc-maxLength-valid: Value 'asdf' with length = '4' is not facet-valid with respect to maxLength '1' for type 'null'.
    4.cvc-type.3.1.3: The value 'asdf' of element 'OperationType' is not valid.
    That is why we have to use the Fault messages and  Field Lengths has to be Validated  in the Server proxy.
    Please Correct me If I am wrong.

  • Web Service consumer using ABAP-PROXY

    Hello,
    I want to test Web Service consumer using ABAP-PROXY . So I do what is explain in the weblog :
    [http://wiki.sdn.sap.com/wiki/display/Snippets/WebServiceconsumerusingABAP-PROXY]
    But when I execute the programm, the message : 'No valid source context supplied'.
    But, proxy and port are ok and activate.
    Can you help me.
    Thanks.

    Hi Jitesh,
    Thanks for the link.  I checked but did not find helpful info there.
    I have managed to make it work yesterday.  Two issues were identified. 
    1. The namespace in the WSDL file imported into ESR as an external definition.  I need to create the same namespace in ESR before importing the WSDL and then import the WSDL into that namespace.
    2. The authentication method.  The authentication method in the IIS configuration of the .NET web service has to be set to Basic Authentication.  Then I set logical port of the consumer proxy in the OSAMANAGER to use Basic Authentication also.  So far only the Basic Authentication works in my test scenario.
    I am closing this question.
    Regards,
    Jiannan

  • Create an SAP Web Service Consumer (calling External Sharepoint Web Service from ABAP)

    hi all,
    i am trying to
    Create an SAP Web Service Consumer (calling sharepoint Web Service from ABAP) using blog given on following link
    Create an SAP Web Service Consumer (calling External Web Service from ABAP) 
    but when i am using my url at the end of step 3, i am getting error as follows:
    i dont want to use local file option. Can anyone help me in this??
    thanks in advance
    regards,
    SDS

    Hi SDS,
    you recieved a http 404 error when trying to access the Sharepoint Web service. Http 404 indicates that the resource is not reachable (cf. HTTP 404 - Wikipedia, the free encyclopedia). There could be different reasons for that. I'd suggest rubble checking the URL of the Web service first. Try to access it from a browser on you desktop. If the URL is correc. Most likely the SAP system is not able to connect to the URL. This could, for example, be due to some firewall restrictions. You should ask a SAP Basis colleague if they are able to access the URL of the Web service from the server on which the SAP system is running.
    Christian

  • How to use web service consumer as a source to connect to Salesforce?

    I see a lot of articles and mapping xmls on how to use web service consumer but as a newbie I am not able to view the object schema from my salesforce enterprise WSDL after importing it in Informatica designer as a source. My enterprise wsdl has operations like create, retrieve, upsert, delete etc so if I want to read data from account then could someone guide me on how to use the web service consumer to view the fields after importing the wsdl.  After importing the wsdl and selecting the operation say create, the columns (ports) displayed shows different groups but it doesn't list the object fields? what am I missing here? And what is the operation to read data from Salesforce is it "retrieve" from the entripse wsdl? As a newbie on this, I appreciate any inputs on this topic.

    Magazinweg 7Taucherstraße 10Taucherstraße 10Av. Copacabana, 267Strada Provinciale 124Fauntleroy CircusAv. dos Lusíadas, 23Rua da Panificadora, 12Av. Inês de Castro, 414Avda. Azteca 123 I have the source table like this and i want to replace the character and sum up the numbers and how can i do it, I replace the character by reg_replace() function but I am not able to add the number because it is of not fixed length. My Output should be,71115705396

  • Does J2SE web service consumer need weblogic as agent?

    Since OWSM 11g, agent is part of weblogic server. so, does this mean for a J2SE web service consumer, I need to install weblogic for it to let it work with OWSM agent? if so, what configuration needed for J2SE web service consumer to work with weblogic ?

    I got the following error.
    But If I call it from a jsp page or a servlet. Nothing happend, Transaction is successful.
    java.lang.NullPointerException
         at org.apache.commons.discovery.resource.ClassLoaders.getAppLoaders(ClassLoaders.java:206)
         at org.apache.axis.AxisProperties.getClassLoaders(AxisProperties.java:118)
         at org.apache.axis.AxisProperties.getNameDiscoverer(AxisProperties.java:105)
         at org.apache.axis.AxisProperties.getResourceClassIterator(AxisProperties.java:112)
         at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:116)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
         at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160)
         at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813)
         at org.apache.axis.client.Service.getAxisClient(Service.java:104)
         at org.apache.axis.client.Service.<init>(Service.java:113)
         at org.tempuri.wsdl.EFSnet2Locator.<init>(EFSnet2Locator.java:10)
         at com.ipharmacy.payment.Payment.main(Payment.java:12)

  • Portal web service consuming in portal application

    Hi ,
    I have done the following steps and consumed a web service and created a portal service.
    When i am consuming this portal service in turn in my application.Its showing the error.
    Step 1 :- I Created a portal service.
    Step 2 :- And published it as a web service.
    Step 3 :- By consuming this web service I created a portal service and uploaded it into the server and started it.
    Step 4 :- Now I am using the portal service created from my web service in my application ad I also added the sharing reference of the portal service in this application.
    Step 5 :- I configured the proxy.
    By going to the path System Administration->System configuration->Service Configuartion.In that under Applications folder--->com.sap.portal.ivs.Httpservice and under this proxy.
    Step 6:- And when I am executing my portal component I am getting the following error stack i am getting .
    Could anyone help me in this regard.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : lokconsumewebservice_Use.webserviceuse
    Component Name : lokconsumewebservice_Use.webserviceuse
    com.sap.portal.ivs.global.ume.UMECLient.
    Exception id: 08:02_30/06/08_0041_4808950
    See the details for the exception ID in the log file .
    Thanks & Regards,
    Lokesh.

    Hi
    Go to
    usr/sap/<SID>/JC00/j2ee/cluster/server/logs...if i am not wrong. Pick up the latest one and post logs here for  related error.
    Koti Reddy

  • JAVA as the Client/Web Service consume XML

    Working on a project at present and require to use JAVA as the client to consume XML from the Server to which i have coded in VB.NET. I have never used JAVA before and i am asking if anyone can point me in the right direction for this or give me an example of Client code in JAVA that consumes XML from the Server VB.net.
    This is cross platform web service that i am working on which must include the following Client/Server one in say for instance JAVA client and VB.NET server which must consume the same text for instance XML, and then display the XML.
    Thank You Beforehand
    I am a Beginner. But i am willing to learn. There will be a chocolate bar in it for anyone who can point me in the correct direction. Got 3 days to complete, HELP

    Any particular flavor of XML? (e.g., SOAP)

  • Web Services Consumer Transformation does not expand xml string in WSDL

    I am trying to create a WebService Consumer transformation with a WSDL file which I have imported in Informatica PowerCenter.The WSDL file has complexType xml strings which are not getting expanded while I am importing the WSDL file, thus it’s not showing the input and output fields in the request and response respectively. I have xsd file definition for these xml strings separately and there is no way I can incorporate them with the main WSDL in PowerCenter.  While I looked into the Informatica Documentation I found that in the Developer tool I can create Web Service in Data Services, and incorporate xsd element definition with main WSDL file. But it’s not exactly working in the way its described in the documentation. Any help would be appreciated.

    Hello All, I have got a scenario to implement: I have a Character source column which I need to convert to Numeric(18,4) and load into table. My source and target is a Netezza table. If the conversion fails, we do not drop the record, instead insert NULL for those records,i.e. source and target has same number of records. I use an expression as below : DECODE(Input_String, NULL, NULL-- Check for alphabets IIF((UPPER(Input_String) != LOWER(Input_String)), NULL-- Check for special charactersIIF((INSTR(Input_String,',',1) > 0 || INSTR(Input_String,':',1) > 0 || INSTR(Input_String,'@',1) > 0),NULL, TO_DECIMAL(Input_String,4))    )       ) Now my question is, can we use a single INSTR statement and check for all the special characters? I want to avoid writing multiple INSTR statements. Please suggest me how to check multiple characters in a single INSTR statement. Thanks & RegardsBiswajeet.

  • Create web service consumer client with Ant and wsdl

    How can I create a web service client with just Ant and WSDL?
    Thanks.

    Hi,
    Did you check this web log?
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Eddy

  • Web Dynpro Domino Web Service Consumer Problem

    Dear All,
    We are trying to consume a Web Service on Domino.
    The web service is working Fine on webdynpro web service checker (EP perspective, Web Service Checker), but when tested with check and deploy, the Webservice return an error:
    "Service call exception; nested exception is: com.sap.engine.lib.xml.parser.ParserException: The empty string is not acceptable for a value of an xmlns:* attribute.(:main:, row:1, col:0)"
    It is a simple web service getting a string in input and returning a simple string (xsd string in both cases),
    here are the soap messages used:
    Input
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://bespordom.lhoist.net/webserviceagent.nsf/directorywsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
      <SOAP-ENV:Body>
        <tnsMethod:getperson xmlns:tnsMethod="uri:Domino">
          <FullName xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Davis</FullName>
        </tnsMethod:getperson>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    response
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SOAP-ENV:Body>
        <m:getpersonResponse xmlns:m="Domino" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
          <Answer xsi:type="xsd:string">Jim [email protected] Falls1313 Mocking Bird laneNY127842241~</Answer>
        </m:getpersonResponse>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    this information came from the Webdynpro web service checker (or EP web service checker in Netweaver developer studio).
    Any Idea will be welcome.
    Message was edited by: Rui Felipe Rebelo Prego
    Message was edited by: Rui Felipe Rebelo Prego

    Hello victor I checked,
    Unfortunately It is only one input parameter and one output parameter.
    Example:
    Dividing a number By 2
    Example I send the number 10 and the result (xml/string) would be 5.
    Input Number as string
    Output Result as string
    message function divide
    WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         name="divide"
         targetNamespace="http://bespordom.lhoist.net/divide.nsf/wsdl"
         xmlns:tns="http://bespordom.lhoist.net/divide.nsf/wsdl"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <message name="divide">
    <part name="Number" type="xsd:string" />
    </message>
    <message name="divideResponse">
    <part name="Result" type="xsd:string" />
    </message>
    <portType name="DirectoryPortType">
         <operation name="divide">
              <input message="tns:divide" />
              <output message="tns:divideResponse" />
         </operation>
    </portType>
    <binding name="DirectoryBinding" type="tns:DirectoryPortType">
         <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
         <operation name="divide">
              <soap:operation soapAction="" />
              <input>
                   <soap:body use="literal" namespace="uri:Domino" />
              </input>
              <output>
                   <soap:body use="literal" namespace="uri:Domino" />
              </output>
         </operation>
    </binding>
    <service name="Directory">
         <documentation>Directory</documentation>
         <port name="DirectoryPort" binding="tns:DirectoryBinding">
              <soap:address location="http://bespordom.lhoist.net/divide.nsf/WebService?OpenAgent" />
         </port>
    </service>
    </definitions>
    When I run it in the Web service Checker with the URL http://bespordom.lhoist.net/divide.nsf/wsdl, it Gives me the correct result and Functionality. Here is the Soap generated on the Web Service checker:
    Soap request
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://bespordom.lhoist.net/divide.nsf/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <SOAP-ENV:Body>
        <tnsMethod:divide xmlns:tnsMethod="uri:Domino">
          <Number>10</Number>
        </tnsMethod:divide>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Soap Response
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SOAP-ENV:Body>
        <m:divideResponse xmlns:m="Domino" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
          <Answer xsi:type="xsd:string">5</Answer>
        </m:divideResponse>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I initialize correctly the Web service and the field number (with new String()) in the component controller.
    When I click on the Button divide on the web dynpro interface, I call the executerequest defined in the component controller where I execute the call.
    But the response is always the same:
    Service call exception; nested exception is: com.sap.engine.lib.xml.parser.ParserException: The empty string is not acceptable for a value of an xmlns:* attribute.(:main:, row:1, col:0)
    What can i do or check, or can I debug the soap generated or received by the portal?
    Do you see something wrong?
    Thank you very much for your help.

  • Can 8i be a Web Service Consumer?

    Is it possible to call a web service from a PL/SQL block in 8i (8.1.7) database?
    And do have any examples or guidelines?
    Thanks,
    Frederik

    You can try the Java stored procedure approach outlined here:
    http://otn.oracle.com/sample_code/tech/java/jsp/samples/wsclient/Abstract.html
    I have to warn you though this has only been tested with Oracle9i 9.1 and Oracle9i 9.2. Theoretically it should work with 8.1.7 but there may be some Java libraries that conflict when loading the SOAP and associated jars.
    The loading of the SOAP libraries "how-to" can be found here:
    http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html
    Note, in my experience, I tend to get the following errors during the load process:
    The following operations failed
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class javax/net/DefaultServerSocketFactory: creation
    class javax/net/DefaultSocketFactory: creation
    class javax/net/ServerSocketFactory: creation
    class javax/net/SocketFactory: creation
    class javax/net/ssl/DefaultSSLServerSocketFactory: creation
    class javax/net/ssl/DefaultSSLSocketFactory: creation
    class javax/net/ssl/HandshakeCompletedEvent: creation
    class javax/net/ssl/HandshakeCompletedListener: creation
    class javax/net/ssl/SSLException: creation
    class javax/net/ssl/SSLHandshakeException: creation
    class javax/net/ssl/SSLKeyException: creation
    class javax/net/ssl/SSLPeerUnverifiedException: creation
    class javax/net/ssl/SSLProtocolException: creation
    class javax/net/ssl/SSLServerSocket: creation
    class javax/net/ssl/SSLServerSocketFactory: creation
    class javax/net/ssl/SSLSession: creation
    class javax/net/ssl/SSLSessionBindingEvent: creation
    class javax/net/ssl/SSLSessionBindingListener: creation
    class javax/net/ssl/SSLSessionContext: creation
    class javax/net/ssl/SSLSocket: creation
    class javax/net/ssl/SSLSocketFactory: creation
    exiting : Failures occurred during processing
    These are not fatal and will let you still invoke the Web service as per the demonstration. Further, I have also found that the following commands are necessary to run to grant permission to call a Web service (endpoint url in this case 127.0.0.1:8888 and schema SCOTT (change to your scenario):
    execute dbms_java.grant_permission('SCOTT', 'SYS:java.util.PropertyPermission', '*', 'read,write');
    execute dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    execute dbms_java.grant_permission('SCOTT','SYS:java.net.SocketPermission','127.0.0.1:8888','connect,resolve');
    The above document I pointed you at doesn't note these commands.
    Hope this works for you ... I haven't myself experimented with this on 8.1.7 so if you do have success problems I would be interested in hearing your experience.
    Mike.

  • Web Service - Consumer Proxy - how to include wsa:To

    Hello to all,
    we have following scenario:
    ECC6.0 to ESB to WAS
    communication with Web Services
    ECC 6.0 Web Service Runtime configuration is correct.
    Now we need in the ESB the tag wsa:To
    How can we add  it to the message in the ECC 6.0?
    regards
    Martin

    Thanks Gaurav.
    The link talks about setting up the Trust with MDM server.
    The code sample provided there has the following step where user name is being set and passed to MDM:
    Use  command to authenticate user session on trusted connection
           TrustedUserSessionCommand  tuscTrustedUser =
           new TrustedUserSessionCommand(mySimpleConnection);
           //  Set the user name to use
           tuscTrustedUser.setUserName(UsernameAsString);
           tuscTrustedUser.setSession(session);
           tuscTrustedUser.execute();
           session =  tuscTrustedUser.getSession();
    I want to understand how to do that for MDM Web Services.
    I didn't see any method accepting this user name while calling the web service method / creating client object.
    So that link is still missing.
    Appreciate if anyone can help me with that.
    This is for MDM 7.1
    Thanks,
    Parvinder

Maybe you are looking for