Web service problem: stub doesn't get created like it should.

Our project uses a standard web service stub which has been created with Netbeans from a WSDl file. The project works OK and the the stub gets created on Nokias and
SonyEricsson, but not on Palm. What could be the reason for this?

AstralVisuals
I haven't worked with Palm but it's likely a CDC device whereas the other two are probably CLDC.
Try a build for CDC, with any necessary changes in your source in case of compiler errors.
Don't know, really, but there's a chance that might sort things out.
Darryl

Similar Messages

  • 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.

  • PL/SQL Web Service problem in Oracle10g

    Hi everybody
    I try to publish PL/SQL Web Service using JDeveloper 9.0.4.0 and Oracle10g.
    But when I deploy the Web Service using 'http-web-site', error messages are:
    oracle.oc4j.admin.internal.DeployerException: Unknown site: http-web-site
    Active sites are:
    file:/D:/oracle/DS/j2ee/home/config/default-web-site.xml
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:131)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.bindWebApp(DefaultApplicationServerAdministrator.java:364)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Exit status of OC4J admin tool (-bindWebApp): 17
    Use the following context root(s) to test your web application(s):
    http://huan:????/CSE5200-PLSQLWS-context-root
    Note: JDeveloper was unable to determine the HTTP port number of the remote server for the above URL(s).
    Elapsed time for deployment: 2 minutes, 19 seconds
    When I change it to 'default-web-set', the following information is shown:
    ---- Deployment started. ---- 2004-8-31 8:50:08
    Target platform is Standalone OC4J (WSConnection).
    Wrote WAR file to D:\oracle\DS\jdev\mywork\CSE5200\PLSQLWS\WebServices.war
    Wrote EAR file to D:\oracle\DS\jdev\mywork\CSE5200\PLSQLWS\CSE5200-PLSQLWS-WS.ear
    Invoking OC4J admin tool...
    D:\oracle\DS\jdk\jre\bin\javaw.exe -jar D:\oracle\DS\j2ee\home\admin.jar ormi://huan/ admin **** -deploy -file D:\oracle\DS\jdev\mywork\CSE5200\PLSQLWS\CSE5200-PLSQLWS-WS.ear -deploymentName CSE5200-PLSQLWS-WS
    Notification ==> Application Deployer for CSE5200-PLSQLWS-WS STARTS [ 2004-08-31T08:50:32.487EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\oracle\DS\j2ee\home\applications\CSE5200-PLSQLWS-WS.ear
    Notification ==> Unpack CSE5200-PLSQLWS-WS.ear begins...
    Notification ==> Unpack CSE5200-PLSQLWS-WS.ear ends...
    Notification ==> Initialize CSE5200-PLSQLWS-WS.ear begins...
    Notification ==> Initialize CSE5200-PLSQLWS-WS.ear ends...
    Notification ==> Initialize WebServices begins...
    Notification ==> Initialize WebServices ends...
    Notification ==> Application Deployer for CSE5200-PLSQLWS-WS COMPLETES [ 2004-08-31T08:50:45.766EST ]
    Exit status of OC4J admin tool (-deploy): 0
    D:\oracle\DS\jdk\jre\bin\javaw.exe -jar D:\oracle\DS\j2ee\home\admin.jar ormi://huan/ admin **** -bindWebApp CSE5200-PLSQLWS-WS WebServices default-web-site /CSE5200-PLSQLWS-context-root
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://huan:8890/CSE5200-PLSQLWS-context-root
    Elapsed time for deployment: 53 seconds
    ---- Deployment finished. ---- 2004-8-31 8:51:01
    And the Web Service still can not work. I did this before with JDeveloper 9.0.3 with Oracle9i and succeeded. Could anybody tell me how to resolve this problem. Thanks a lot.

    Thanks Frank.
    In my function package i create xml use dbms_xmldom. I save created xml into clob and return this clob in function.
    Now I want create web service that return my clob(xml).
    I try use JDevelper with PL/SQL Web Service Wizard.
    But I get wrong result (see in my first post).
    My Example xml in clob
    <test>"testvalue"</test>
    I want get responce
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result><test>"testvalue"</test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    But I get
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result>& lt;test>&amp;quot;testvalue&amp;quot;& lt;/test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    Can you advice something?
    Edited by: user10707438 on 28.10.2010 1:14
    Edited by: user10707438 on 28.10.2010 1:27

  • Consuming web service in PI 7.3 and creating file

    Hi,
    I need to consume web service in PI 7.3 and create file from response. I have WSDL for the web service. Now confused about datatype/message type. Is there any document/note to follow?
    thanks,
    7Z

    I need to consume web service in PI 7.3 and create file from response. I have WSDL for the web service. Now confused about datatype/message type. Is there any document/note to follow?
    ==>
    Hi,
    There are 2 ways you can do this :-
    If your sender is a file and receiver is a webservice and you want to map the response back to the file then :-
    Sol 1 :- Async-Sync Bridge using RequesResponse Oneway bean
    Sender File channel ---> Soap Receiver Channel
    Soap Receiver Channel brings the response back to the File Receiver Channel.
    Now this File Receiver Channel should be called inside the Sender File Channel using the above bean.
    Data Type :
    Src - File struc to SOAP request (WSDL used as an external definition)(mapping 1)
    SOAP response(WSDL used as an external definition) to Tgt File Struc (mapping 2)
    Sol 2 :- Async Scenario
    Make a Sender File Channel --> use SOAP lookup channel (pass the request payload through the SOAP receiver channel) --> Map the response back to the File using File Receiver Channel.
    Data Type:
    Src - File struc to Tgt File Struc (mapping 1). Since you are passing the request payload through SOAP lookup in the UDF itself.
    ======================================================================

  • 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

  • J2ME invoking web service problem

    Hello. I'm trying to create an application which invokes an ASP 2.0 WebService. For the J2ME, i'm using NetBeans with the SE Developer SDK. The code is not so complicated:
    service.ServiceSoap_Stub srv = new service.ServiceSoap_Stub();
    srv._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://localhost/WebServiceTest/Service.asmx");
    srv._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.FALSE);
    String text = srv.remoteMethod();
    The problem is: when i run the application with the Default NetBeans Color Phone, everything is fine; it works. Now, when i try to load it with the SE Developer Emulators, the problem appears.
    When using SE K750 Emulator, if i'm not using threads, when i' trying to invoke the web service i get the following error: java.lang.NoClassDefFoundError: service/ServiceSoap_Stub: service/ServiceSoap. If i'm using threads, the emulator crashed when started with a Windows error (zayit.exe has encountered a problem and needs to close. We are sorry for the inconvenience.)
    Both applications run ok when i'm using the Default Color Phone from NetBeans and this problem occurs with every phone from the SE SDK.
    Is J2ME platform installed on SE phones modified or it's the same runtime environment on all phones? Why does this problem appears? Thanks in advance.

    Hello. I'm trying to create an application which invokes an ASP 2.0 WebService. For the J2ME, i'm using NetBeans with the SE Developer SDK. The code is not so complicated:
    service.ServiceSoap_Stub srv = new service.ServiceSoap_Stub();
    srv._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://localhost/WebServiceTest/Service.asmx");
    srv._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.FALSE);
    String text = srv.remoteMethod();
    The problem is: when i run the application with the Default NetBeans Color Phone, everything is fine; it works. Now, when i try to load it with the SE Developer Emulators, the problem appears.
    When using SE K750 Emulator, if i'm not using threads, when i' trying to invoke the web service i get the following error: java.lang.NoClassDefFoundError: service/ServiceSoap_Stub: service/ServiceSoap. If i'm using threads, the emulator crashed when started with a Windows error (zayit.exe has encountered a problem and needs to close. We are sorry for the inconvenience.)
    Both applications run ok when i'm using the Default Color Phone from NetBeans and this problem occurs with every phone from the SE SDK.
    Is J2ME platform installed on SE phones modified or it's the same runtime environment on all phones? Why does this problem appears? Thanks in advance.

  • WT 2.5 / WT 2.5.2 - Web Services problem - Missing end tag??

    Hi,
    I'm trying to create a J2ME web services client using the wireless toolkit. I used the Stub Generator to create my STUB from my WSDL file.
    With the Wireless Toolkit 2.5 I was getting a "Missing end tag for body or envelope" error when I invoked a web method. I read that this was a problem with that version of the Wireless Toolkit (a parsing problem).
    I then upgraded to Wireless Toolkit 2.5.2. When running my app on the emulator, the "Missing end tag for body or envelope" error went away, and I was successfully invoking web methods, and the results were being parsed fine. However, when I put this .jar on to my handset (a Nokia E70) I still see the "Missing end tag for body or envelope" error!
    Does anyone know why this is?

    The IDE i'm using is NetBeans. I have WTK2.5 and WTK2.5.2 installed. When I flick the "emulator platform" from WTK2.5 to WTK2.5.2 the error "Missing end tag for body or envelope" does go away, and the SOAP response is successfully parsed. However, when I flick it back to WTK2.5, I get the error back. The SOAP message is being sent properly, and a good response is returned. The problem is with parsing the response. WTK2.5 can't seem to parse it, but WTK2.5.2 can.
    So I can get the application working fine (when the emulator platform is set to WTK2.5.2), but the problem is, I still get the error when I install the app on any phone, and I don't understand why???
    If anyone can shed any light on this, i'd be very grateful.
    p.s I've tested the app on the following handsets:
    Sony Ericsson P1i, K800i
    Nokia E70, E61

  • Calling soap web service using stub

    I have created a stub class from an existing BPEL process and want to write a small java client (ultimately to be used in a JSP).
    The problem is that the generated stub creates the calling method with an Element parameter instead of a string that the web service needs. I have been playing around with the org.w3c.dom.Element and oracle.xml.parser.v2.XMLDocument classes to try to create an instance of Element to pass into the method but I'm having no success.
    Has anyone had the same problem? What's the best way to go about this?
    I'm using JDeveloper 10.1.2 and the BPEL is hosted on Apps Server 10.1.2.0.2
    Thanks in advance..

    I have created a stub class from an existing BPEL process and want to write a small java client (ultimately to be used in a JSP).
    The problem is that the generated stub creates the calling method with an Element parameter instead of a string that the web service needs. I have been playing around with the org.w3c.dom.Element and oracle.xml.parser.v2.XMLDocument classes to try to create an instance of Element to pass into the method but I'm having no success.
    Has anyone had the same problem? What's the best way to go about this?
    I'm using JDeveloper 10.1.2 and the BPEL is hosted on Apps Server 10.1.2.0.2
    Thanks in advance..

  • Dsp web service problem

    Hi, sorry to keep abusing this forum but I'm trying to get something going REALLY quickly and have no alternative at the moment... we're working on that.
    So I managed to solve or work around my previous problems and am now trying to expose one of our data services via a web service. The logical data servie represents the gjxdm personType and offers a "getPeople" query.
    I followed documentation at these places:
    http://edocs.bea.com/aldsp/docs21/appdev/wsdlclt.html#wp1056096
    http://e-docs.bea.com/wls/docs81/webserv/client.html#1069115
    to generate a web service by creating a control, creating a web servcie from the control, and generating the wsdl file from the .jws.
    Then I used an ant script to run the sdo task and clientgen to create the necessary jar files for a client to invoke the web service. Using these jar files I wrote a simple client to call "getPeople".
    When I call getPeople I run into an exception:
    java.rmi.RemoteException: Element of dateTime is not in valid range: Day has invalid length.; nested exception is:
         java.lang.IllegalArgumentException: Element of dateTime is not in valid range: Day has invalid length.
         at com.raytheon.hiec.bsi.JxdmPersonControlTestSoap_Stub.getPeople(JxdmPersonControlTestSoap_Stub.java:33)
         at com.raytheon.hiec.bsi.JxdmPersonControlTestSoap_Stub.getPeople(JxdmPersonControlTestSoap_Stub.java:46)
         at com.raytheon.test.Test.main(Test.java:25)
    Caused by: java.lang.IllegalArgumentException: Element of dateTime is not in valid range: Day has invalid length.
         at weblogic.xml.schema.types.util.XSDDateTimeDeserializer.getCalendar(XSDDateTimeDeserializer.java:35)
         at weblogic.xml.schema.types.XSDDate.convertXml(XSDDate.java:164)
         at weblogic.xml.schema.binding.internal.builtin.XSDDateDeserializer.getObjectFromContent(XSDDateDeserializer.java:16)
         at weblogic.xml.schema.binding.internal.builtin.XSDSimpleTypeDeserializer.processContent(XSDSimpleTypeDeserializer.java:173)
         at weblogic.xml.schema.binding.internal.builtin.XSDSimpleTypeDeserializer.processContent(XSDSimpleTypeDeserializer.java:161)
         at weblogic.xml.schema.binding.BeanCodecSimpleContentBase.processElements(BeanCodecSimpleContentBase.java:60)
         at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:109)
         at weblogic.xml.schema.binding.SequenceCodecBase.deserialize_incomplete(SequenceCodecBase.java:153)
         at weblogic.xml.schema.binding.SequenceCodecBase.deserialize(SequenceCodecBase.java:87)
         at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:184)
         at weblogic.xml.schema.binding.BeanCodecBase.processAllElements(BeanCodecBase.java:166)
         at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:146)
         at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:109)
         at weblogic.xml.schema.binding.SequenceCodecBase.deserialize(SequenceCodecBase.java:106)
         at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:184)
         at weblogic.xml.schema.binding.BeanCodecBase.processAllElements(BeanCodecBase.java:166)
         at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:146)
         at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:109)
         at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:428)
         at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:328)
         at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384)
         at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:484)
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:325)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:303)
         at com.raytheon.hiec.bsi.JxdmPersonControlTestSoap_Stub.getPeople(JxdmPersonControlTestSoap_Stub.java:26)
         ... 2 more
    After searching on these forums I found this:
    http://forums.bea.com/bea/thread.jspa?forumID=2055&threadID=600009725&messageID=600020945#600020945
    which appears to be te same problem as I am having. I also found other threads (although much much older from like 2002) describing the same problem... one person described it as a bug in the jaxrpc implementation.
    Workarounds involved making sure you used Calender in the interfaces instead of Date... however, since everything I'm using is generated by workshop I don't really have any control over the types.
    Has anyone run into this (I'm sure someone must have). Any help woudl be greatly appreciated.

    I just checked with customer support,
    they said our maintenance support just expired.
    They said I could not open a customer case.
    Could anyone out there open a customer case
    to handle this long existed problem.
    Thanks

  • Web service client stubs generation

    Hi,
    I try to generated model for WebDynpro application based on Web service (deprecated). WSDL file is valid. Stub classes generation is completed with compilation error. I found that the generator builds strange method for CMapLayerField complex type. There is setter with java.util.List param for MapLayer field but no one exists for Metafields field. Why for? Metafields field has the same cardinality as MapLayer one. Please, take me advance. I don't understand generation mechanism. I tried Axis2 and no problem was. How to fix this problem? How can I use Axis2 WSDL2Java generator instead of SAP Schema to Java generator?
    The problem is below described in details. Compilation failed due to type cast error. The error message is:
    The method setMapLayer(CMapLayer) in the type CMapLayerField is not applicable for the arguments (CMapLayer[])
    Below I give some scrap from WSDL and generated Java class.
    WSDL
    ==============
          <s:complexType name="CMapLayerField">
            <s:complexContent mixed="false">
              <s:extension base="tns:CTable">
                <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="Metafields" type="tns:CMetafields" />
                  <s:element minOccurs="0" maxOccurs="1" name="MapLayer" type="tns:CMapLayer" />
                  <s:element minOccurs="1" maxOccurs="1" name="MapLayerFieldIsName" type="s:int" />
                </s:sequence>
              </s:extension>
            </s:complexContent>
          </s:complexType>
    Generated API class for CMapLayerField type
    ==============================
    package com.test.model;
    public class ComplexType_CMapLayerField
    private com.test.model.proxies.types.CMapLayerField originalBean;
    //skipped
    private com.test.model.ComplexType_CMetafields metafields;
    /** sets the JavaWrapper in the relationship**/
    public void setMetafields(com.test.model.ComplexType_CMetafields arg)
         this.metafields = arg;           
    sets the original bean in the relationship
      public void setMetafields(com.test.model.proxies.types.CMetafields origBean)
         if(this.metafields == null)
              this.metafields = new com.test.model.ComplexType_CMetafields ();
         this.metafields.setOriginalBean(origBean);           
    private java.util.List _mapLayer = null;
    public void setMapLayer (java.util.List list)
         com.test.model.proxies.types.CMapLayer[] array = new com.test.model.proxies.types.CMapLayer[list.size()];
         for(int i=0;i<list.size();i++)
              com.test.model.ComplexType_CMapLayer item = (com.test.model.ComplexType_CMapLayer)list.get(i);
               array<i> = item.getOriginalBean();
         getOriginalBean().setMapLayer(array);
         this._mapLayer = list;
    public void setMapLayer (com.test.model.proxies.types.CMapLayer[] args)
         if(_mapLayer == null) _mapLayer = new java.util.ArrayList();
         if (args == null ) return ;
         for(int i=0;i<args.length;i++)
              com.test.model.ComplexType_CMapLayer wrapper = new com.test.model.ComplexType_CMapLayer ();
              wrapper.setOriginalBean(args<i>);
              _mapLayer.add(wrapper);     
    //skipped
    Generated stub class for CMapLayerField type
    ===================================
    package com.test.model.proxies.types;
    public  class CMapLayerField extends com.test.model.proxies.types.CTable {
      //some line were skipped
      private com.test.model.proxies.types.CMetafields fMetafields;
      public void setMetafields(com.test.model.proxies.types.CMetafields _Metafields) {
        this._f_Metafields = _Metafields;
        this._f_hasMetafields = true;
      private com.test.model.proxies.types.CMapLayer fMapLayer;
      private boolean fhasMapLayer;
      public void setMapLayer(com.test.model.proxies.types.CMapLayer _MapLayer) {
        this._f_MapLayer = _MapLayer;
        this._f_hasMapLayer = true;

    Obsolete

  • Web service client stub had exception

    Hi there,
    I'm new to Oracle AS(10.1.2). I used JDeveloper 10.1.3 created web service, and client stub. When I called the web service from client stub, I got the following error:
    [SOAPException: faultCode=SOAP-ENV:Server; msg=java.math.BigDecimal.&lt;init&gt;(I)V [java.lang.NoSuchMethodError]]
    I didn't find any problem with my parameters passing from client to the WS.
    Anybody can help?
    Thanks,
    Helen

    Hi there,
    I'm new to Oracle AS(10.1.2). I used JDeveloper 10.1.3 created web service, and client stub. When I called the web service from client stub, I got the following error:
    [SOAPException: faultCode=SOAP-ENV:Server; msg=java.math.BigDecimal.&lt;init&gt;(I)V [java.lang.NoSuchMethodError]]
    I didn't find any problem with my parameters passing from client to the WS.
    Anybody can help?
    Thanks,
    Helen

  • Web service problem (Timeout)

    hello
    i hope this is the right category to post my problem
    i want to use the service "customerCRMChangeRequestConfirmation_In"
    but i get this error message: "Error getting response; java.net SocketTimeoutException: Read timed out.
    on my search to fix this problem i found the SAP Note 826419.
    with following advice:
    ===========================================================================================
    Version NW 7.10
    Using NetWeaver Administrator
              o For standard Web service deployable proxy:
                1.  Open SAP NetWeaver Administrator in a browser: http:// "Web Services Administration".
                3.  Choose "Proxy Definitions by Name" and click "GO".
                4.  Select the proxy you want to configure.
                5.  Choose the "Configuration" tab.
                6.  Choose the "Logical Ports" tab.
                7.  Select the logical port you want to configure and choose "Edit".
                8. Choose the "Transport Settings" tab.
                9. Edit the "Max wait-time for HTTP response (in milliseconds)" field.
                10. Click "Save" to save the settings.
    ============================================================================================
    but in my Transport Settings are no "May wait-Time for HTTP response-field"
    what is the problem? i have an SAP CRM IDES System with Netweaver 7.1
    do I need to install an sp?
    I also found this solution for my read time out problem:
    http://wiki.sdn.sap.com/wiki/display/TechTSG/%28WSR%29Problems-P01
    but this solution with "Visual Administrator" is for java stack, right?
    thank you for your help!
    kind regards
    sven möller

    Hi Sven,
    There could be several reasons for this timeout but seeing as this is an IDES System things should generally work fine (it's not always the case though).
    I would suggest increasing the socket timeout on SoapUI & then test the webservice again. If you are unsure of how to do this just Google 'SoapUI Test Case Socket Timeout' or something similar. You first need to create a test suite/case & then you can control the socket timeout on SoapUI.
    Just in case, I would also check that the webservice service is configured correctly by launching transaction code SOAMANAGER from the IDES CRM & searching for this service (look for the change customer service under service providers). Just verify that all endpoint configuration is correct.
    I would also verify if you have the necessary authorizations (for your IDES login user) to change a customer.
    Lastly, I would setup a trace/recording using the ICF Recorder for your IDES login user (Google 'SAP ICF Recorder' for correct usage). Turn on the recorder to trace your incoming request in IDES & trace the outgoing response from IDES.
    You could also try viewing Transaction Codes ST11 & ST22 that trace incoming requests into the IDES Application Server. This may highlight any authorization related issues.
    Best Regards, Trevor

  • OWB 11.2 CDC Web Service problem

    We are running OWB 11.2 on a Win x64 2008 database server and using XP clients
    Using the new ODI based method for configuring CDC we have created a cdc enabled Oracle module, and this is working as expected. The next step is to try to run "Extend", "Lock subscriber", "Purge" etc from our process flows. To accomplish this we have tried the following:
    - right click on the CDC module and create the web service for the module under "default_app_server" (the OWB agent)
    - Deploy the web service
    - Include the web service in a process flow to extend and lock subscriber
    - Deploy the process flow
    When trying to execute this process flow it fails with:
    javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect                                        
    I get the same error if I try to execute the web service directly by right clicking it in the OWB client.
    There does not seem to be a problem with the web service itself. I have tried to execute it both from the "test page" on the OC4J server, and a simple BPEL process I created in Oracle SOA suite, and in both cases the service works as long as I supply the credentials for basic authentication
    I have tried creating a URI location to supply the credentials, and I have also tried to register a the web service as an external service under "Globals Navigator" so I'm running out of things to try...
    Any help would be greatly appreciated
    Thanks,
    Roald

    As Guenther mentioned it sounds like you have not defined the work schema. It can be just the same as the schema, but generally advised to have a different one since this will be where temporary work tables will be created.
    It should (at least) be in the description that the work schema must be granted the SELECT ANY TABLE privilege for this template/KM.
    Cheers
    David

  • External web service problem

    I am using CAPS 5.1.2 and I want to use an external webservice.
    Importing the external web service from URL or file goes fine.
    I decided to do this in a JCD and added the webservice as an OTD.
    Building and deployment of my project goes fine, but the server.log gives me the following SEVERE log message:
    [#|2007-04-12T12:04:39.418+0200|SEVERE|IS5.1.2|com.stc.wsclient.runtime.ejb.impl.WSClientService|_ThreadID=27; ThreadName=Worker: 13;|environment entries for operation classes are not found in ejb-jar.xmlNo object bound to name java:comp/env/WS_OPERATIONS|#]
    and also more info messages like:
    [#|2007-04-12T12:04:39.418+0200|INFO|IS5.1.2|javax.enterprise.system.container.ejb|_ThreadID=27; ThreadName=Worker: 13;stacktrace-id=21;|EJB5070: Exception creating stateless session bean : [{stacktrace-id=21}]
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:410)
    I can not find any solution to this problem. I also tried to use a Business process instead of a JCD, but I still get the exact same error message.
    I have validated the external web service with the "Web Service Definition Editor" and it validates OK.
    I am a little bit lost here and do not know where to start debugging this problem. Please help.

    Could you please paste your WSDL?

  • Polling web service problem

    I am trying to create a polling asynch web service.
    But I am having a problem. The method that performs the polling, blocks until the initial request to the web service which started the conversation completes.
    It seems that as long as the web service/controls have an active thread running in it, it blocks all other requests. Is this correct? Can there only be one active thread running in a control or a web service even if it is asynch?
    The design is as follows:
    The Web Service is conversational and has three methods:
    1) startProcess()     -> start
    2) pollForResult()     -> continue
    3) finish()          -> finish
    There are two controls, Step1Control and Step2Control.
    The WebService has a reference to Step1Control.
    The Step1Control has a reference to the Step2Control.
    The following describes the process flow:
    1) WebService.startProcess() calls Step1Control.startProcess().
    2) Step1Control.startProcess() calls Step2Control.startProcess().
    3) Step2Control.startProcess() is buffered so this does not run until step 5 below.
    4) Step1Control.startProcess() completes and the Web Service call completes from step 1.
    5) Step2Control.startProcess() runs asynch. This method loops 20 times, each iteration it sleeps for 1 second.
    As the Step2Control.startProcess() is running aysnch, I am trying to use the pollForResult() method on the web service to check the progress of the Step2Control process. When I make the call, the call blocks until the Step2Control.startProcess() loop completes (step 5 above).
    It works like this.
    When Step2Control.startProcess() completes, it calls back the Step1Control and sets a member variable in the Step1Control to indicate the Step2Control has finished looping and processing.
    The WebService.pollForResult() (which is my polling method on the web service) calls the Step1Control.pollForResult() to get the value of the result returned from the Step2Control process.
    Any idea why polling blocks.
    It seems that only one thread can be working on the web service or control at a time. Even though the process is running asynch after the 1st request that initaited the asynch process, it seems that calls to the web service block until the asynch Step2Control.startProcess() completes.
    Do conversational web services prevent mutliple active threads working on it at the same time?

    I am using Weblogic workshop test browser to test this code. My Ws code looks like this.
    package WebServ;
    public class AsyncWebServ1 implements com.bea.jws.WebService
    * @common:control
    * @jc:timer repeats-every="30 s" timeout="60 s"
    private com.bea.control.TimerControl MyTimerControl;
    * This member variable stores the client choice to be sent a callback or not.
    public boolean m_useCallback;
    * When the callback handler is fired, this boolean is set to true.
    * Clients that don't want callbacks check this boolean to see if their result is ready.
    public boolean m_messageIsReceived;
    public Callback callback;
    * @common:control
    private Control.xmlDocWSControl xmldocwscontrol;
    static final long serialVersionUID = 1L;
    private String xmlString = "";
    private String strName = "";
    * @common:operation
    * @jws:conversation phase="start"
    public void getWSEmplyeeInfoCON(String aName)
    MyTimerControl.start();
    xmlString = xmldocwscontrol.getEmplyeeDtlsCon(aName);
    return ;
    public interface Callback extends com.bea.control.ServiceControl
    * @jws:conversation phase="finish"
    public void testCallback(String result);
    * @common:operation
    public void MyTimerControl_onTimeout(long time)
    //xmlString = xmldocwscontrol.getEmplyeeDtlsCon(aName);
    if(!m_useCallback)
    m_messageIsReceived = true;
    else
    callback.testCallback(xmlString);
    MyTimerControl.stop();
    return;
    * @common:operation
    * @jws:conversation phase="continue"
    * @jws:protocol form-post="false" form-get="true"
    public boolean checkStatus()
    return m_messageIsReceived;
    * @common:operation
    * @jws:conversation phase="finish"
    * @jws:protocol form-get="true" form-post="false"
    public String getMessageResponse()
    return xmlString;
    * @common:operation
    * @jws:conversation phase="start"
    public void requestMessage(boolean useCallback)
    m_useCallback = useCallback;
    // Start the delay timer.
    MyTimerControl.start();
    return;
    The value of xmlString can be hard coded.
    Saju

Maybe you are looking for