Amazon E-commerce Web Service question (urgent)

Hi guys, I have a problem with SOAP request. The following is the SOAP request I made
<?xml version = '1.0' encoding = 'UTF-8'?>
<env:Envelope xmlns:env=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0=" http://webservices.amazon.com/AWSECommerceService/2007-04-04">
<env:Body>
<ns0:ItemLookup>
<ns0:AWSAccessKeyId>0N15S9KAAAYYNQ86R202</ns0:AWSAccessKeyId>
<ns0:Shared>
<ns0:IdType>ASIN</ns0:IdType>
<ns0:ItemId>B00008OE6I</ns0:ItemId>
</ns0:Shared>
<ns0:Request>
<ns0:IdType>ASIN</ns0:IdType>
<ns0:ItemId>B00008OE6I</ns0:ItemId>
</ns0:Request>
</ns0:ItemLookup>
</env:Body>
</env:Envelope>
But the response is
<?xml version = '1.0' encoding = 'UTF-8'?>
<SOAP-ENV:Envelope xmlns:xsi=" http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xsi:type="xsd:string">SOAP-ENV:Client</faultcode>
<faultstring xsi:type="xsd:string">We encountered an error at our end while processing your request. Please try again
</faultstring>
<detail xsi:type="xsd:string">URN http://webservices.amazon.com/AWSECommerceService/2007-04-04 is not valid.</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request ID: 11JJQ383YJ0TA9SPSQQ8 -->
Can anyone tell me what the problem is and how to solve it? (I am using JDeveloper 10.1.3.2)
Thank you.

The class files need to exist on the target machine. For example if I serialize MyClass and send it as a stream to machine B, machine B needs MyClass.class on the CLASSPATH to deserialize it.
Also, make sure all machines working with the serialized stream have the same version of Java installed. (e.g., v1.2 does not play nice with v1.4, etc)

Similar Messages

  • Developer Acceptance of E-Commerce Web Services

    Dear all Java Web Services developers,
    My name is Kevin and a student at Hawaii Pacific University. Recently, I am doing a thesis on "Developer Acceptance of E-Commerce Web Services". One thing I may need to ask you for help. My thesis needs to ask developers about their experience using Web Services (Amazon E-Commerce Web Services, eBay E-Commerce Web Services). I will be grateful if you could take a moment and help me to fill out my survey questionnaire. And your contribution is really important to the success of my thesis. If you have any suggestion about my study or my survey please feel free to contact me at [email protected] The following is my survey URL link.
    http://freeonlinesurveys.com/rendersurvey.asp?sid=5lknjuvramlmy6n323977
    Thank you for your time
    Sincerely,
    Kevin Lin

    I think you should start from build a good case study, setting up the case study and deciding which technology would really fit into various area of the system flow.

  • Web service question? passing object - urgent

    hi there
    i have create a web service that takes a javabean as argument. the bean contains three strings. it is supported by the jax-rpc. when i try it, i keeping getting this error message:
    java.rmi.ServerException: Internal Server Error (deserialization error: unexpect
    ed XML reader state. expected: END but found: START: productDescription)
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:346)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:221
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.j
    ava:54)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
    at c2.main(c2.java:67)
    i am using tomcat as the server. i followed the tutorial from sun. but it did not work. i was wondering if anyone o your experts can help me. thanks.

    The class files need to exist on the target machine. For example if I serialize MyClass and send it as a stream to machine B, machine B needs MyClass.class on the CLASSPATH to deserialize it.
    Also, make sure all machines working with the serialized stream have the same version of Java installed. (e.g., v1.2 does not play nice with v1.4, etc)

  • PL/SQL web service: question about stub

    hello,
    I'm currently learning how to work with PL/SQL Web Services.
    I have a question about stubs. The point is, I can deploy a web service to the OC4J server and it works. It also works when I create a stub following the WSDL I made with creating the PL/SQL web service. If I go to the endpoint in my webbrowser, the functionality is the same, with or without using a stub.
    My question is: what is the function of the stub?

    A stub is leveraged by a client application to communicate with a corresponding server side object (in this case, the web service implementation). If you think back to CORBA or RMI applications they follow a similar pattern.
    In the case of a web service you would use the stub to write a client application that could invoke the methods of the remote service and return the responses as java data types. The methods the stub class offers are the same as the methods of the web service interface. It's a common way for providing RPC like functionality.

  • Query as a web service question

    I have a QAAWS problem. BO XI 3.1, Xcelsius 2008 version 5.2.1.0
    I need to send 5 product names (user can select 1 to 5 products from a list) and display corresponding market share values I obtain from QAAWS.
    Created a query with Product names as prompt, returning market share. In prompt options, I selected
    "Prompt with list of values" and "Optional Prompt".
    in Xcelsius, when I created the connection, I select 5 columns as input from prompt (my product names). I selected the column from Input values, "Read From" and gave 5 columns in sequence.
    the problem:
    However, when I execute the query, I get only the market share of the first product returned.
    I know that QAAWS can take multiple prompt  from different columns. Is this because of Universe settings? or my option settings are in correct?
    Any help will be highly appreciated.
    Edited by: GopNair on Nov 11, 2009 8:26 PM

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • A Web Service Question

    Hi everyone. I'm creating a WS using ADF, but I'm wondering if, despite what the documentation says about parameters, if is possible create a custom method in the AppModule that expect as parameter a custom class and return also a custom class???. It's there any simple or not way for do that or just can't be done?
    Using POJO can be solved the issue, but wont have all the facilities that offer ADF to make a WS.
    for example:
    public MyCustomClass methodName(){
    // Code
    Or
    public void methodName(MyCustomClass){
    //Code
    Regards and please advice me
    Dariel

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • XML Web Service Question

    Hello, I have been asked to research a way to export data from the SAP BW into a remote application. I know nothing about SAP and I have a few questions. We would like to take data from SAP BW and put it in an XML file. Then we would like to automatically invoke a remote web service which will parse the data into the other applications database.
    My first questions is can SAP BW export some of its selected data into an XML file? If so how is this done (what tools, components, applications, etc. are necessary) and what is the level of complexity?
    My second question is can a remote web service be invoked automatically form the SAP BW and can the previously mentioned XML file be sent out to the web service for parsing and loading? If so how is this done (what tools, components, applications, etc. are necessary)and what is the level of complexity?
    Any help you can provide would be very much appreciated.
    Thanks in advance!
    Brett Lewinski

    This can be done in BW.
    Try the links given below, also there is a How to document available from SAP on this.
    http://help.sap.com/saphelp_bw33/helpdata/en/9f/9b8f3c855f0454e10000000a11405a/content.htm
    http://www.sapteched.com/presentations/session.asp?sid=140
    Thanks.

  • Information regarding  web services  its urgent....

    Can any body plz tell me, is there any way to integrate a stand alone java swing application with a web service?
    If yes how? Its urgent..........
    Thanks in advance...
    Anand

    Hi,
    the integration of such a web service is very easy:
    create partner link and enter into the field "WSDL file" the URL of your webservice. (The URL which is browsable).

  • Siebel outbound web service  question

    I'm writing a customized 'SendMailing' outbound web service. I have tested my web service with stand alone client, and now I want to integrate it with siebel. My step is:
    1 configure the SendMailingService in Administration -> web services -> outbound web services, in Service Ports panel I set the Address of the 'SendMailing' to my Web service endpoint, such as http://myhost/Siebel/SendMailing?WSDL
    2 configure the Email Marketing Server (in 'Administration -> marketing ->servers), set 'SendMailing' (outbound web service port) to 'Email sending daemon(ESD)', and other parameters such as from address.
    3 create an email treatment which use the configured email marketing server as the delivery profile.
    4 create a campaign with the created treatment and assign a list to the campaign.
    5 load the campaign
    6 launch the campaign.
    after the 6th step is done, nothing happens - no error message, no logs found, the campaign status still remains 'in planning'.
    some other clues:
    1 when I do the 'test email' for the email treatment, the following error log is found:
    ObjMgrLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (httptransport.cpp (1631)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
    ObjMgrLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (httptransport.cpp (981)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
    ObjMgrLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (soapbinding.cpp (564)) SBL-EAI-04304: Unknown Part 'http://www.bea.com/servers/wls70/webservice/fault/1.0.0:stacktrace' for operation 'createMailing' exists in SOAP message.
    ObjMgrBusServiceLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (outdisp.cpp (209)) SBL-EAI-04308: Operation 'createMailing' of Web Service 'urn:xml-send-mailing.SendMailingService' at port 'SendMailing' failed with the following explanation: "[Server CodecHandler] Failed to decode
    -> Unable to find xml element for parameter: options
    I guess siebel does try to invoke the outbound web service for the 'test email', but it seems do nothing for regular campaign launch.
    Did I miss anything? please help! thanks in advance!

    I have known the reason of the error logs: the soap message sent by siebel lacks 2 parameters. The 2 parameters should be contained in the soap message with a value of null or empty if they are really empty, but the siebel removes these 2 parameters from the soap message. So the soap stack of my client refused the soap request. I think this should be a siebel bug.
    Now my question becomes why I can't launch a campaign? I followed the steps of 'create offer' -> create campaign -> associate the offer with campaign -> assign a list->allocate a list->load campaign -> launch campaign. but the campaign just keeps 'In planning'.
    Did I miss anything? Or where can I find some clues? such as logs...

  • Web service question [qualitative]

    .....The cross-platform nature of Java facilitates distributed applications running on multiple hardware and operating system platforms. If all of the components of a distributed application are written in Java, then using EJBs with Java RMI is a good choice. However, web services are a great choice for integrating applications that are written in various languages, because most major platforms have support for SOAP, which is the protocol used in web services for passing object data from one application to another. This enables, for example, an application developed in Java to use the web service operations of an application developed in Perl......
    the last statement "This enables, for example, an application developed in Java to use the web service operations of an application developed in Perl".
    i have a question on this last statement.
    does it mean perl professionals can also make web service ? but using what ?
    For example, java professional can make web service using soap.jar and the server APACHE AXIS.
    How perl professional can make their web service(is it possible at all ? but it seems they can do also from the above statement) ? can they use soap.jar ? can they use APACHE AXIS server ? umm....i dont know.
    same question for also .NET people.
    the question is basically whether web service developement is exclusive for only java professionals or not ?
    because when i see any web service tutorial i get to see APACHE AXIS, java,soap etc ......so , i started thinking that java poeple can only develope web service......... .NET,PERL people can not make it. if they really can make it whats the server do they use ?
    thanks

    you can implement web services in any language, has nothing to do with java, just google 'webservices' and 'perl'
    Iggy

  • How to send JSON data in HTTPService to PHP web service question

    I'm using Flex 4 and a mx:HTTPService to send a JSON request to a php web service. I'm not sure if I'm sending the request correctly. Could someone look at the code below to see what I'm doing wrong?
    thanks
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   width="100%" height="100%">
        <fx:Declarations>
            <mx:HTTPService id="service" url="https://my web service url/"
                            method="POST" resultFormat="text" result="onResult(event)" fault="onFault(event)">
            </mx:HTTPService>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import com.adobe.serialization.json.JSON;
                import mx.collections.ArrayCollection;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.utils.Base64Encoder;
                [Bindable]private var username:String = "[email protected]";
                [Bindable]private var password:String = "the password";
                [Bindable]private var accountNumber:String = "49055";
                [Bindable]private var anticipatedDeliveryDate:Number = 20101115;
                [Bindable]private var purchaseOrder:String = "#123 for retailer";
                [Bindable]private var detailRecords:Array = new Array();
                [Bindable]private var key:String = "abc123";
                private function populateService():void {
                    populateProducts();   
                    setRequestHeader();
                    setRequestData();
                    service.send();   
                private function setRequestHeader():void {
                    var encoder:Base64Encoder = new Base64Encoder();
                    encoder.insertNewLines = false;
                    encoder.encode(key);               
                    service.headers["Authorization"] = "VIP " + key;
                    service.headers["Content-Type"] = "application/json";
                private function setRequestData():void {
                    service.request.username = username;
                    service.request.password = password;
                    service.request.accountNumber = accountNumber;
                    service.request.anticipatedDeliveryDate = anticipatedDeliveryDate;
                    service.request.purchaseOrder = purchaseOrder;
                    service.request.detailRecords = detailRecords;
                    // caching test
                    var rnd : Number = Math.round(Math.random()*1000);
                    service.request.cacheOff = rnd;
                private function populateProducts():void {
                    var prod1:Object = new Object();
                    prod1.itemCodeOrUPC = "00241";
                    prod1.itemDescription = "Budweiser Keg 1/2 BBL";
                    prod1.quantityOrdered = 2;
                    prod1.orderUOM = "Keg";
                    var prod2:Object = new Object();
                    prod2.itemCodeOrUPC = "00219";
                    prod2.itemDescription = "Budweiser 24/12 OZ CAN";
                    prod2.quantityOrdered = 4;
                    prod2.orderUOM = "Case";
                    detailRecords.push(prod1);
                    detailRecords.push(prod2);
                private function onResult(event:ResultEvent):void
                    var json:Object = JSON.decode(event.result as String);
                private function onFault(event:FaultEvent):void
                    trace("Fault: " + event.fault.faultString);
            ]]>
        </fx:Script>
        <mx:Panel width="95%" height="100%" color="#000000">
            <mx:HBox width="100%">
                <mx:Button label="Submit" click="{populateService()}"/>
            </mx:HBox>   
        </mx:Panel>
    </s:Application>

    Have you think abut using ActionScript in your Flex application? Or, you can write javascript to be proxy between your flash app and backend PHP web service?
    Also, it seems that you will allow every customer's flash player to have a copy of secret code. I think it is dangerous design because an flv file can be easity decompiled. Therefore, you secret code can be found if it is not input by your end user and it is populated on your serverside script.

  • Follow up to web services question:  How do I expose java components as web services on iPlanet 6.0 app server?

    My task - my company has several legacy PowerBuilder applications that access a variety of Sybase and MS SQL databases. Rather than re-inventing the wheel by re-writing these applications in Java, we would like to enable these applications to call java components (EJBs) that will provide new functionality. I would need a piece of software called CSXtend (from www.cynergysystems.com) to allow PowerBuilder to call a web service. However, I am not sure how to expose my business functions (EJBs) as web services on the iPlanet 6.0 App server. Thanks for all previous responses! Any additional info would be greatly appreciated! Mike

    I have used Glue (http://www.themindelectric.com/products/glue/glue.html) to expose some of our stuff as Web Services. I recently found this on serverside. It's pretty good.
    http://www.theserverside.com/resources/article.jsp?l=Systinet-web-services-part-1
    I believe that the middleware they use can be plugged into IPlanet. There is also an article in the knowledge base on the IPlanet site.
    Jon

  • How to view the SOAP message in a web service call + Urgent

    Hi All,
    Iam trying to test a web service call(Iam using CXF). But I need to view SOAP message sent to web service or need to debug the web service call. Please help me on this regard with example.

    Yes. to find any tcp monitor, define a listen port number, task host and port number, changing your request to listen post, then you can monitor TCP/IP like
    HTTP/1.1 200 OK
    Set-Cookie: JSESSIONID=7A00BD65EF7516AD8947359A25C4D98B; Path=/ComponentName
    Content-Type: text/xml;charset=utf-8
    Date: Wed, 20 Oct 2004 15:45:03 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:testObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ComponentName">
    <testObjectReturn href="#id0"/>
    </ns1:testObjectResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:MyObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ComponentName">
    <name xsi:type="xsd:string">Set Name</name>
    <value xsi:type="xsd:string">set Value</value>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    Lixin

  • 9.0.3 two web services questions

    OK, I'm trying to get web services to work and having two problems.
    The (hopefully) simple one: I want to install a web service on the local OC4J, and I can't seem to get the connection to work. Getting connection refused. Not sure why. Didn't see any problems like this with 9.0.2, but we mostly installed them on 9iAS.
    The more complex one: I started working with a PLSQL web service. While I can't execute it yet (see above), I can create one with a simple return type. For example, something like f_seq_to_name (i_seq in number) return varchar2. And the stub is pretty easy.
    But if I want to return a rowtype, for example
    f_seq_to_row (i_seq in number) return facility_table%rowtype,
    the routine is grayed out because JDev decides there is an out parameter of type "null". I could explicitly include each individual parameter, but that seems like a waste of developer effort. And this happens for both rowtypes and ref cursors, so it will be pretty hard to move any significant amount of data. So am I missing something, or is this a bug? If it's a bug, will it be fixed in 9.0.3 production?
    Of course, I can go over to BC4J and try this there with view objects. But I'm looking to see which of the tools are usable.
    -- jim

    Here is some pointers that might help:
    1. A PL/SQL Web Services Tutorial using Oracle9i JDeveloper 9.0.3 including the setup necessary to configure OC4J. As you will see you don't have to actually create a SOAP connection in JDev; for PL/SQL you simply need to have an app server connection as per the writeup. See:
    http://otn.oracle.com/tech/webservices/htdocs/series/plsql/content.html
    2. To see what data types are supported for PL/SQL take a look at:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95453/plsqlservices.htm#1030045
    ROWTYPE and REFCURSOR are not supported. This does not appear to change between 9.0.3 preview and 9.0.3 production. There are some other approaches to consider, though your milage may vary. For example, VARRAYS and abstract datatypes are supported - you can see the ADT support in the above tutorial and try VARRAYs by tweaking it to return an array of employees rather than a single employee.
    Hope this gets you going.
    Mike.

  • PI Web Service Question

    Hi,
    I'm currently working on a project that requires using Web Services to communicate with PI. I was able to import the web service, and tried running to run the app. However, I ran into this error message when the WS executed:
    "Exception on execution of web service with WSDL URL ... with operation ... in interface '...?
    The message is too generic, and am not sure if the Web Service has the problem or my coding has the problem.
    Did anyone encounter this as well? Would appreciate an input or two for this one.
    Thanks!

    Hi Manoj,
    Thanks for your reply.
    Mmm... I tried to modify some of my code a bit, and now it is returning this error:
    com.sap.tc.webdynpro.progmodel.context.ContextException: Node(GPWAppComp.Request_SI_OS_RetrieveListOfMappingRules): cannot fill a ModelNode automatically. Change the cardinality or use a supply function.
    Are you familiar with this error?
    Thanks again!

Maybe you are looking for

  • Identification of old material number at plant level

    Dear All, We are implementing SAP for  two hospitals. In legacy system each hospital as its own material master and material number. Now in SAP each hospital we are treating as a plant. These two plants are assigned to one company code. So it means t

  • Please help  me out in modelling a scenario plz...

    Hi   All I have a req  where in i  am pulling  data from 2 DSo's in to a cube...one DSO contains the  Sales order number and the order quantity..and the other DSO contains the sales order number ,  invoice number and the invoice qty..i need to consid

  • Playlist Song Position in Memory ipod 7th generation

    I recently purchased a 7th generation ipod upgrading from a 4th generation which I had for several years.  With my 4th generation ipod I would frequently listen to a playlist at work in shuffle mode that would have over a 1,000 songs.  This could tak

  • Text in my swf is editable, how to lock it?

    Hey, I have made a simple flash ad with  Adobe Flash CS4. I have placed my animations and my text in it, however I  found that when I will move mouse over text in this ad, coursor changes  just as it would be some text written in html. Too bad when y

  • Switching libraries

    Restoring current iPhoto library Posted: 16-Dec-2009 06:14 Reply Email Help please. I am using iPhoto 6.0.6 and wanted to view an older library. I refreshed the 'how to" through the iPhoto help section. I managed to install the old library and comple