Web Service : problem calling it from PDF.

Hi everyone,
I want to make a call to a web service created by SAP/ABAP.
I have the wsdl file and I created a new data connection in the Adbobe designer.
I draged and droped the data connection to the editor : so it created
2 text fields and a button.
The web service waits from the user to enter an input string and it gives back as an answer a string as output...simple, isn't it ?
I also added a button in the designer that points to the connection I created. The button is in mode "execute".
Finally, I saved all this in a PDF file.
When I double click the PDF file, I enter a string as input and press the button....Then I go an error message saying that I should specify username and password. So I changed the mode of the button from "Execute" to "Submit". I added to the URL my username and password because the web service points to a backend which is SAP.
Now I do get another error message which is : Cannot handle content type:text/xml; charset=utf-8.
I read in the doc that maybe I should use XDP ?
Can someone please explane me how to solve the problem.
Thanks in advance for the precious help.
Thanks in advance.
Regards.

The problem is caused by the fact that your web service is returning a content-type header of text/html. The reader product can only handle PDF responses from a web server. In any case, your form data is received OK by the web service; it is just the response back that Acrobat cannot handle.
To get around this, I created a little "thank you for your response" PDF file and put it on my web server. I then set my perl CGI backend script to send a simple redirect to the PDF when it gets a response. (Obviously, you would want to harvest the form values from your user before redirecting). This solved the problem for me.
My little perl script is shown below:
#! /usr/bin/perl
use CGI;
$query = CGI::new(); # invoke a new CGI object for the input
@params = $query->param();
# do something with the values....
print $query->redirect(-uri => 'http://mycompany.com/myapp/cgi-bin/thankyou.pdf');

Similar Messages

  • Web services problem after restoring from time machine!

    I am getting this message every time i reload or log in to the wiki pages created on the snow leopard server after i have restored from time machine due to hard drive problems.
    *The versions of the server and UI don’t match.*
    *Try clicking Reload; if that doesn't work,*
    *please make sure both server components are up-to-date.*
    *Client: WikiServerUI-200*
    *Server: WikiServerUI-198*
    Anyone have a clue how to fix this issue?
    I tried to restore/restart/update/....
    Nothing worked....
    Please elaborate as much as possible if you have any idea how to get rid of this nasty pop up every time you browse between pages or different wikis.
    Million thanks in advance
    cheers
    /samer

    I've the problem as well. When visiting my wiki-server I always get this popup message:
    The versions of the server and UI don’t match. Try clicking Reload; if that doesn't work, please make sure both server components are up-to-date.
    Client: WikiServerUI-198
    Server: WikiServerUI-200
    After a harddisk replacement I restored the server installation from TimeMachine back to the harddisk. From thereon I have the problem.
    What is the problem exactly and how can I get rid off that message?
    Thanx, Harold

  • Can't re-add printer after removing from eprint center - 'Web Services Problem'

    I have an HP Photosmart Premium C310 series printer (Model Number CN503B) which I have been using with ePrint for about 18 months. Aside from intermittent issues it has worked, I use a chromebook most of the time so rely on the ePrint option via Google Cloud Print.
    Last week it stopped working, with every job in the list showing as cancelled. Following advice on the forum I removed the email address of the printer from the eprint center. I thought it would then be simple to add the printer back. However, I have been unable to connect the printer to the web service so I cannot create the code I need to add the printer back.
    STEPS TO REPRODUCE:
    1. Factory reset printer settings
    2. Factory reset network settings
    3. Restart printer and Reboot router
    3. Settings -> Network -> Wireless Setup Wizard
    4. Choose correct SSID, enter password for WPA
    5. ‘Connected to Network’
    6. Settings -> Web -> Enable Web Services
    7. ‘Accept terms’ screen -> Accept
    8. ‘Checking for product updates’ screen shows briefly then returns to 'accept terms' screen
    9. Next it makes a ping sound and shows ‘Web Services Problem’ ‘Problem connecting to Web Services Server’, it then pings again a few seconds later (which ties in with what I see in the network logs as a second attempt)
    10. Log on to printer via web interface and set IP address of printer to manual IP outside DHCP range (as advice on other threads in this forum). Check DNS setting valid (same as gateway server which all other devices on network are also using successfully as DNS)
    11. Repeat steps 6 and 7 - still same error message
    I consider myself technically savvy and have followed all advice I can find on this forum including the following:
    1. reverting to printer and network defaults
    2. rebooting router
    3. assigning static IP address to printer outside of DHCP range of router
    4. connecting to printer via web interface and setting DNS to variously: same as gateway, google DNS (8.8.8.8), ISP DNS
    5. adjusting firewall settings on router to explicitly allow and log outbound connection on the HP ports (already had a rule allowing all outbound connections)
    As mentioned, the printer worked fine with ePrint previously so I suspect the ePrint server is rejecting a request from my printer for some reason, maybe because there is old / corrupt  data on the server regarding my specific printer.
    I’m logging outbound traffic from the printer and here are what the router logs show me (printer IP replaced with 192.168.x.x below, even though it is not public )
    Thu, 2013-04-11 09:13:42 - TCP Packet - Source:192.168.x.x, 36475 Destination:15.201.202.81,80 - [HTTP rule match]
    Thu, 2013-04-11 09:13:43 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:51 - TCP Packet - Source:192.168.x.x, 64270 Destination:15.201.224.79,443 - [HTTPS rule match]
    Looks like both are HP sites: first is 'g4t2674.houston.hp.com' and the second secure one is ‘registration-pro-site2eprint.houston.hp.com’ which sound likely to be correct. That suggests the DNS is working but that the registration server doesn’t like the request for some reason.
    I had the printer registered for Google Cloud Print but I have now deleted that also and it doesn’t seem to have made any difference (assume it just formats and forwards to the HP ePrint email anyway).
    One hack that sheds some further light is to switch off wifi on the printer and then switch on ePrint. Eprint gives an error but stays set as 'on'. When I then switch wifi back on I can then at least check for product updates (it tells me I have the latest product updates). However, web services are still a 'no go'. Network traffic for that product update exchange looks like this:
    Thu, 2013-04-11 10:14:51 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x ,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    So clearly the printer can communicate to those servers well enough to find it has the latest firmware. 
    I realise this is a lot of information but hopefully some of it is helpful for troubleshooting.
    Thank you in advance for any help!

    The issue disappeared this weekend. I didn't change anything so it must have been something server side. I notice others with the same issue have also seen it resolved.
    Thanks to all those who contributed and tried to help out. Although disappointed I went for a long time without ePrint I'm glad that action was apparently taken to resolve in the end.

  • Calling Web Service with SOAP header from BPEL

    Hi,
    I am calling a web service (with header information) from BPEL. In the Invoke activity, i created a header variable to pass the header information.
    But, when i test the BPEL service, invoke activity fails because the header information is not being passed.
    Below is the error message (copied from clipboard).
    +<messages><input><Invoke_1_getsubinfo_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><getsubinfoElement xmlns="http://ws/its/tabs/webservices/SingleRowWS/SingleRowWS.wsdl">+
    +<pSubnoin>+
    +<insubno>12345678</insubno>+
    +</pSubnoin>+
    +</getsubinfoElement>+
    +</part></Invoke_1_getsubinfo_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke:+
    start fault message:+
    Internal Server Error (Caught exception while handling request: javax.xml.rpc.JAXRPCException: Not authenticated user)+
    *:end fault message*</summary>
    +</part></bindingFault></fault></messages>+
    As said, no header information is visible in the Invoke activity.
    Please provide help for the above issue.
    -MJ

    Hello Patrick,
    Thanks for the response. I am using normal assign activity to assign values to the header variable as shown below. HeadMT is the header variable which is passed in the invoke activity.
    +<assign name="Assign_Header">+
    +<copy>+
    +<from expression="'tkl12'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:USER_NAME" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'tkl123'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:PASSWORD" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'TKL'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:CHANNEL_ID" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +</assign>+
    The expected input by the web service is as below with the header information highlighted.
    +<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ws/webservices/RowWS/RowWS.wsdl">+
    +*<soap:Header>*+
    +*<ns1:LOGIN_INFO>*+
    +*<ns1:USERNAME>tkl12</ns1:USERNAME>*+
    +*<ns1:PASSWORD>tkl123</ns1:PASSWORD>*+
    +*<ns1:CHANNEL_ID>TKL</ns1:CHANNEL_ID>*+
    +*</ns1:LOGIN_INFO>*+
    +*</soap:Header>*+
    +<soap:Body>+
    +<ns1:substatusElement>+
    +<ns1:pInparam>+
    +<ns1:insubno>7674988</ns1:insubno>+
    +</ns1:pInparam>+
    +</ns1:substatusElement>+
    +</soap:Body>+
    +</soap:Envelope>+

  • 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

  • JCD - making a web service client call from a jcd

    Hi,
    We would like to make web service client calls from our jcd's in Java CAPS 5.1.2 to an external web services running under a Tomcat 5.5 servlet.
    What is the recommended method of calling web services from a jcd?
    We attempted to import a WSDL and use the wsdl object but that failed.
    One alternative I thought of is generating the client classes from Axis 1.3 and importing an external .jar file with those classes plus the necessary jar to run Axis.
    Our external web services are typed as docment/literal, wrapped.
    Thanks

    The recommended way to make Web Services calls from a Java Collaboration is to use the support for this feature in JCaps 5.1.2. This means using the WSDL as an OTD and linking it to an external web service on the connectivity map.
    If you have trouble using the WSDl as an OTD you can open a support case with Sun support (http://goldstar.stc.com/support).
    Regards,
    Frederik

  • @common:context annotation on web service problem

    Is there a problem with using the @common:context annotation for a conversaitonal web service, such that session information isn't maintain?
    My problem is that when i authenticate from a jsp or programmatically, i have session info. I continue to have this info prior to calling the conv. ws, but after that, from the conv. ws and any control, JPD, etc... that i use the session info is lost. This is a problem for me because i want to use role security and the anonymous user always is used at the point of the ws and on.
    Is there anyway around this, is this a bug, or am i just using this incorrectly?

    I am having the same issue. The one thing I did notice when I compared the output from the sample and my app is the following;
    RESPONSE;
    <?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/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getCityStateResponse xmlns:ns1="urn:usps-CityStateLookup" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xmlns:ns2="http://usps/CityStateLookup.xsd" xsi:type="ns2:usps_CityStateBean">
    <city xsi:type="xsd:string">SANDUSKY</city>
    <lookupResponse xsi:type="xsd:string">ZIP CODE FOUND</lookupResponse>
    <state xsi:type="xsd:string">OH</state>
    </return>
    </ns1:getCityStateResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The major difference seems to be that the string 'urn:usps-' has been added to
    xmlns:ns1="CityStateLookup"
    making it
    xmlns:ns1="urn:usps-CityStateLookup"
    I built mine thru the wizards, trying to replace the compute the values prior to automatic row-processing, as well as calling the web service after retrieving ZIP from the database and computing city and state. In every case, I get a successfull call but a blank response value and no city and state.
    Any help would be appreciated.

  • BEA and Web Services problem

    Hi
    I'm new to java and trying to educate myself in this field and therefor I have this question.
    I'm trying to develope a web service to bea. I successfully managed to deploy bea's web service example called Trader(EJB version). Available at webservices.zip that I downloaded from this site(src\examples\webservices\complex\statelessSession).
    But now I'm facing a problem that I can't figure out how to read data from HttpRequest- is this possible at all with EJB? For example I would like to get username from header? Or usually X509 certificate is added to request and how can i deal with it?
    Currently I'm able to read only data specified in the procedure defined in the interface. For example:
    public String doIt(String val,String val2)
    Any help would be appreciated :)
    Thanks in advance :)
    Edited by justcraizy at 04/03/2007 7:34 AM

    You should be able to get the username from the context?
    private SessionContext sessionCtx = null;
    public void setSessionContext(SessionContext sctx) {
    this.sessionCtx = sctx;
    public void someMethod() {
    String username = sessionCtx.getCallerPrincipal().getName();
    -Jesus

  • Web service soap call connection lost in rendered form generated by stichted fragments

    Hi
    I have fragment which uses a webservice call to get data from database and the output is bind to fields on the fragment. these fragements are dynamically inserted in the insertion points and the fragments are stichted using assembler and the form is rendered and reader extensions are applied. when I click on the execute button of generated form the web service is not called because the connection is lost when the form is stichted and rendered.
    I used the fragment in a standalone form and reader extended that form and everything works fine, the web service is called and i get the data.
    can any body explain what is the problem with rendered form by stichthing the fragments, what needs to be done in case of stitched form?
    Thanks
    Mahesh

    Firstly thanks for reply Sir, Sir when i called this from Dot Net it's working but i called from form builder then error occured.
    Error Code Is :-
    [SOAPException: faultCode=soap:Server; msg=Server was unable to process request. ---&gt; System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.]
    I think something wrong when Dot Net web service and oracle integration. So may be i need other tool to integrate
    Dot Net web service with oracle.

  • Web Service Problem (CityStateLookup)

    I recently attempted to re-create the City & State Lookup web service located within the Sample Application(v1.6) and have thus far failed miserably.
    I went to the endpoint URL of 'http://iaswe2.oracleicenter.com:80/CityStateLookup-cr/CityStateLookup' and located the WSDL, copied that URL and went to create my own web service for my application.
    I went to 'Shared Components', then 'Web Service References', and hit the 'Create' button. After selecting 'No', so I could manually enter the WSDL location, I pasted the following URL into the prompt 'http://iaswe2.oracleicenter.com/CityStateLookup-cr/CityStateLookup?WSDL' and created the reference.
    After creating a 'Form on Web Service', I attempted to enter in a zip-code and press submit but failed to receive any data in the CITY, STATE, or LOOKUPRESPONSE fields. I went back to the web service reference and compared my information to the information provided by the reference created for the sample app, and noticed a few differences.
    Here are the credentials for my reference:
    Name: CityStateLookup
    URL: http://iaswe2.oracleicenter.com:80/CityStateLookup-cr/CityStateLookup
    Target Namespace: http://usps/CityStateLookup.wsdl
    Operations
    Operation Name: getCityState
    SOAP Action: urn:usps-CityStateLookup/getCityState
    Input Style: encoded
    Input Namespace: urn:usps-CityStateLookup
    Output Style: encoded
    Output Namespace: urn:usps-CityStateLookup
    Input Parameters
    param0: xsd:string (a.k.a. zipcode)
    Output Parameters
    output: xsd1:usps_CityStateBean (xpath: /output)
    city: xsd:string (xpath: /output/city)
    lookupResponse: xsd:string (xpath: /output/lookupResponse)
    state: xsd:string (xpath: /output/state)
    I also ran a test on my reference and successfully grabbed a response. The request and the response were as follows for zipcode '50266':
    Request -
    <?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><namesp1:getCityState xmlns:namesp1="urn:usps-CityStateLookup"><param0 xsi:type="xsd:string">50266</param0></namesp1:getCityState></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Response-
    <?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/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getCityStateResponse xmlns:ns1="urn:usps-CityStateLookup" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xmlns:ns2="http://usps/CityStateLookup.xsd" xsi:type="ns2:usps_CityStateBean">
    <city xsi:type="xsd:string">WEST DES MOINES</city>
    <lookupResponse xsi:type="xsd:string">ZIP CODE FOUND</lookupResponse>
    <state xsi:type="xsd:string">IA</state>
    </return>
    </ns1:getCityStateResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Any ideas on why my reference doesn't work correctly but the sample application's does?
    Mark

    I am having the same issue. The one thing I did notice when I compared the output from the sample and my app is the following;
    RESPONSE;
    <?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/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getCityStateResponse xmlns:ns1="urn:usps-CityStateLookup" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xmlns:ns2="http://usps/CityStateLookup.xsd" xsi:type="ns2:usps_CityStateBean">
    <city xsi:type="xsd:string">SANDUSKY</city>
    <lookupResponse xsi:type="xsd:string">ZIP CODE FOUND</lookupResponse>
    <state xsi:type="xsd:string">OH</state>
    </return>
    </ns1:getCityStateResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The major difference seems to be that the string 'urn:usps-' has been added to
    xmlns:ns1="CityStateLookup"
    making it
    xmlns:ns1="urn:usps-CityStateLookup"
    I built mine thru the wizards, trying to replace the compute the values prior to automatic row-processing, as well as calling the web service after retrieving ZIP from the database and computing city and state. In every case, I get a successfull call but a blank response value and no city and state.
    Any help would be appreciated.

  • Web service problem serializing objects?

    JDeveloper Studio Edition Version 10.1.3.2.0.4066
    I deployed a web service developed with JDeveloper to OAS 10.1.3.1.0
    I generated a web service client proxy in JDeveloper to call the web service.
    I get an exception (below). I tried regenerating the proxy code. Same exception when I try running it. I tried regenerating the web service and redeploying. Same exception.
    It seems like the WSDL is correct, but the XML produced by the web service drops some letters from the schema types?
    Has anyone else seen this? Here is the exception I'm getting:
    unexpected element type: expected={http://edu.apollogrp.selfservice/ISelfService.xsd}edu_apollogrp_selfservice_SelfServiceResults, actual={http://edu.apollogrp.selfservice/ISelfService.xsd}edu_apollog_SelfServiceResults
    at oracle.j2ee.ws.common.encoding.SerializerBase.verifyType(SerializerBase.java:168)
    at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:170)
    at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:147)
    at customerservice.proxy.runtime.SelfServiceBinding_Main_RespS__SOAPSerializer.doDeserialize(SelfServiceBinding_Main_RespS__SOAPSerializer.java:44)
    at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:180)
    at customerservice.proxy.runtime.SelfServiceBinding_Stub._deserialize_Main(SelfServiceBinding_Stub.java:193)
    at customerservice.proxy.runtime.SelfServiceBinding_Stub._readFirstBodyElement(SelfServiceBinding_Stub.java:176)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    at customerservice.proxy.runtime.SelfServiceBinding_Stub.main(SelfServiceBinding_Stub.java:81)
    at customerservice.proxy.SelfServicePortClient.mainExt(SelfServicePortClient.java:44)
    at customerservice.SelfService.getSSData(SelfService.java:116)
    at customerservice.SelfService.Test(SelfService.java:93)
    at customerservice.SelfService.main(SelfService.java:109)

    Yeah. You need a deserialize class to deserialize (cast) the Complex Data Type (object). But the orignal class is not necessary. Also, it is impossible to use the orignal class if you write a client on J2EE platform to consume a service on .NET platform. Your can use the WSDL file to generate a tub using some tool. The stub can handle the remote calls and de/serialization (cast).
    Hope this can help you. Cheers
    Shaun

  • Urgent web service problem. can not find url of WSDL

    Hi all,
    I met a web service problem recently.
    1 I have set up a web service and reside it on Java System Application server9.0. But there's a bug of this web server, which will stop after the user log off the server. I have installed the Application server as a windows service. It suppose to run all the time. I don't know why the server stop after I log off.
    2 For that reason, I tried to migrant my web service from the java application server to Tomcat5.5. I deployed my web service to folder webApps. But I don't know the WSDL url of the web service, which is the web reference for my frent-end c#.net application.
    Anybody can give me some idea?
    Many thanks

    Nobody knows?
    Please help me

  • Problem calling simplebutton from library

    Hi guys,
    I'd like to ask for your assistance. I have a problem calling
    SimpleButton from library. I already checked the Linkage:Export for
    actionscript but still an error appear "Call to a possibly
    undefined method OkBtn". I'm just wondering because this method
    works on my MovieClips except for SimpleButtons. Is there another
    way to call SimpleButtons?
    Here's my code calling MovieClip:
    var mc:MovieClip = new ourProduct();
    and same in calling my SimpleButton:
    var myOkBtn:SimpleButton = new OkBtn();
    please help.
    Thank you very much

    Hi again,
    Since I could not call my SimpleButton inside the library, I
    was thinking of putting my button inside the movieclip and call
    that clip inside my library.
    On my stage, I called
    underConstructionPane() movieclip. This
    underConstructionPane contains
    myOkBtn which previously I wanted to call but as a work
    around, I just put it inside
    underConstructionPane movieclip with instance name of
    okBtn. I added eventHandler on
    okBtn which supposed to call
    showHome() function outside
    underConstructionPane.
    showHome() was declared on the stage or root (I don't know
    the correct term. hehehe
    sorry.) but I don't know how to call that function.
    I tried this:
    var home = new showHome();
    but it won't work.
    Please help me
    Thank you.

  • Can a web dynpro call a web service that calls a jsp?

    I'm trying to connect a web dynpro java [2004s] calling a web service that calls a jsp page. then a jsp page that calls a web service that goes to the web dynpro. is this possible?
    Thanks!

    Have you checked out the following J2EE tutorial:
    http://www.netbeans.org/download/docs/41/j2ee-tutorial/CMP2.html#wp90149
    ...The Roster module maintains the team rosters for players in sports leagues. The example has five components. The RosterClient component is an application client that accesses the RosterBean session bean through the bean's remote interfaces. RosterBean accesses three entity beans--PlayerBean, TeamBean, and LeagueBean--through their local interfaces....
    Also: http://www.netbeans.org/download/docs/41/j2ee-tutorial/Session4.html#wp82980
    Passing an Enterprise Bean's Object Reference

  • How configure a primavera web service to return data from the second database?

    Hi everyone,
    We have P6 with first WS deployed on a single server weblogic domain. The first WS return data from the first database instance.
    Then deployed advanced second WS on a separate weblogic domain server with a different port. Configured second WS with <WS2_INSTALL_HOME>/bin/dbconfig.sh, creating a new branch of a configuration that specifies a different second instance of the database. However, this configuration is ignored and second web services return data from the first database.
    We have one domain, which including next servers:
    Name / Host / Port / Deployments
    P6 / localhost / 0001 / P6(v8.3), p6ws1(v8.3)
    p6ws2 / localhost / 0002 / p6ws2(v8.3)
    Now we have two different file BREBootstrap.xml.
    P6 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db1:1521:db1</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass1</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB1" instances="1" logDir="anydir/P6EPPM/p6/PrimaveraLogs"/>
    </Configurations>
    p6ws2 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db2:1521:db2</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass2</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB2" instances="1" logDir="anydir/P6EPPM/ws2/PrimaveraLogs"/>
    </Configurations>
    ‘P6 Config_DB1’ and ‘P6 Config_DB2’ including Database property for 1 and 2 database respectively.
    How to configure a second web service to return data from the second database?
    Thanks in advance!
    Regards,
    Dmitry

    OK, so I got this to work this morning with Username Token Profile (with little help from Oracle Support).
    I followed your steps 1-4 but in step 2 I didn't add the -Ddatabase.instance=2 because I want to check to see if my code could swap between different instances.
    It appears for Username Token Profile to use Database Instance, you need to set it in the soap header.
    So my soap request looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <DatabaseInstanceId xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Authentication/V1">2</DatabaseInstanceId>
            <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <u:Timestamp xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3'>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                    <u:Expires>2014-10-23T04:29:01.152Z</u:Expires>
                </u:Timestamp>
                <o:UsernameToken u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3' xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>
                    <o:Username>admin</o:Username>
                    <o:Password Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>password</o:Password>
                    <o:Nonce EncodingType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'>vJBQhCc28bAeszej7gOaiC2tVCQ=</o:Nonce>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                </o:UsernameToken>
            </o:Security>
        </s:Header>
        <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <ReadProjects xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Project/V2">
                <Field>ObjectId</Field>
                <Field>Id</Field>
                <Field>Name</Field>
                <Field>Status</Field>
                <Field>StartDate</Field>
                <Field>FinishDate</Field>
                <Field>DataDate</Field>
                <Filter>Id = 'EC00515'</Filter>
            </ReadProjects>
        </s:Body>
    </s:Envelope>
    This request pulled the project from the second instance.
    V/r,
    Gene

Maybe you are looking for

  • AFP authentication a bit too forgiving?

    Having been reasonably satisfied with the performance of Leopard on my 24" iMac, I decided it was finally time to upgrade the rest of our office machines as well. It was only after I bought a recent Mini that I realized file sharing in Leopard featur

  • I can't find the "Build This Not That!" pages

    At least three times in the last month I when't digging for a link to that poster.  If anyone knows or can find it Please, help a brother out with a link would you?  Thanks Jeff Solved! Go to Solution.

  • Help  with DES  decryption

    Hello ! I wrote the code for DES Encryption , which i have tested and works perfectly, consistent with the results expected. But I have not been able to implement the decryption process correctly asI have not yet understood the way i need to shift th

  • Password file may be missing or configured incorrectly.

    Hi All Platform:Windows Server 2003 DB: 10.2.0.5.0/Single instance While creating the em repository I get the following: 2010-aug-23 14:18:05 oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cf

  • Where is the call forward feature located???

    Where is the call forward feature found??