SocketTimeoutException when trying to contact a web service

Hi,
I'm using WebLogic 9.2.2 with Java 1.5. I'm trying to contact a web service, which runs on http, port 80. Although I can SSH in to the weblogic server and run "wget http://myservice/WSDL", when I try and contact it through my code, I'm getting
ERROR 2009-05-13 09:35:54,521 - [com.myco.regui.struts.accounts.AccountsForm::contactWPS] - Failed to contact provisioning service.
java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to receive message java.net.SocketTimeoutException: Read timed outRead timed out] FaultActor [null] Detail [<detail>java.net.SocketTimeoutException: Read timed out
</detail>]; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to receive message java.net.SocketTimeoutException: Read timed outRead timed out
at com.myco.regui.provisioning.client.ProvisioningAccountServicePortType_Stub.get(ProvisioningAccountServicePortType_Stub.java:37)
at com.myco.regui.struts.accounts.AccountsForm.contactWPS(AccountsForm.java:216)
at com.myco.regui.struts.accounts.AccountsForm.validateAccountid(AccountsForm.java:167)
at com.myco.regui.struts.accounts.AccountsForm.validatePCAccountId(AccountsForm.java:135)
at com.myco.regui.struts.accounts.AccountsForm._validatePCFields(AccountsForm.java:116)
at com.myco.regui.struts.accounts.AccountsForm.validate(AccountsForm.java:90)
at org.apache.struts.chain.commands.servlet.ValidateActionForm.validate(ValidateActionForm.java:58)
at org.apache.struts.chain.commands.AbstractValidateActionForm.execute(AbstractValidateActionForm.java:120)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to receive message java.net.SocketTimeoutException: Read timed outRead timed out
at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:273)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:106)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:91)
at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:79)
at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:254)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:224)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:161)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:116)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
at com.myco.regui.provisioning.client.ProvisioningAccountServicePortType_Stub.get(ProvisioningAccountServicePortType_Stub.java:32)
... 28 more
Does anyone know what the next steps I need to take to troubleshoot this problem? Thanks, - Dave

Hi ,
I need some information for to aviod the following error.
1. when this error will occur.We are using weblogic 8.1 SP5 and sun solaris sparc 10.
2. Application is running on cluster.
May 27, 2009 10:40:17 AM FJT> <Error> <Cluster> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.>
error in parsejava.net.SocketTimeoutException: Read timed out
<May 27, 2009 10:50:07 AM FJT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '19' for queue: 'weblogic.kernel.Default' has been busy for "1,380" seconds working on the request "Http Request: /main/pblistener", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
<May 27, 2009 11:00:07 AM FJT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '18' for queue: 'weblogic.kernel.Default' has been busy for "1,139" seconds working on the request "Http Request: /main/pblistener", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
<May 27, 2009 11:10:07 AM FJT> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '18' for queue: 'weblogic.kernel.Default' has been busy for "1,739" seconds working on the request "Http Request: /main/pblistener", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>

Similar Messages

  • Help! Getting "Connection error Check connection" when trying to enable HP Web Services on M1536DNF

    Can anyone tell me what I need to do in order to enable HP Web Services on HP LaserJet Pro M1536DNF model?  Everything works fine and shows it's connected to the network but I cannot enable HP Web Services.  It says "Connection error Check connection" I've tried restarting everything; network, printer, computer.  I've also updated firmware to latest version as well.

    Hi snapry,
    Welcome to the HP Support forums.  I understand that you are getting an unable to connect message when trying to enable the web services for your Laserjet CP1025nw printer.
    Please set a manual IP address and manual DNS servers for the printer.  The instructions can be found in the document Printer Does Not Maintain Wireless Connection. There is a Windows section and a Mac section.  In the Windows section you will find the instructions in the sub-section titled “Solution three: Assign the printer a static IP address”. For Mac the applicable sub-section is titled “Solution two: Assign the printer a static IP address”.  When entering the information for the Manual Preferred DNS server please use 8.8.8.8 and for the Alternate Preferred DNS server please use 8.8.4.4.  These are Google’s DNS servers.  
    After setting the manual IP address and manual DNS servers, you should have no problems enabling the web services.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Error when trying to create a web service from a wsdl file using jdeveloper

    Hello,
    I'm using the latest jdeveloper and jdk 6 update 20 on solaris sparc 10.
    When I'm trying to create a web service from a wsdl on the java EE 1.5 platform i get the following error:
    Validation failed:
    java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    I've tried the endorsed mechanism with the latest jaxws-api.jar and jaxb-api.jar packages with no help.
    It works fine when i use the java EE 1.4 platform....
    The full Error description:
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)+
    +     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)+
    +     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:745)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:364)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)+
    +     at java.lang.Thread.run(Thread.java:619)+
    Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)+
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)+
    +     at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)+
    +     ... 8 more+
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)+
    +     at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)+
    +     at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)+
    +     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:597)+
    +     at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)+
    +     at $Proxy34.getJaxWsSeiInfo(Unknown Source)+
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)+
    +     ... 11 more+
    Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.getMRequired(AbstractField.java:186)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:209)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:164)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:75)+
    +     at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:89)+
    +     at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:76)+
    +     at sun.reflect.GeneratedConstructorAccessor53.newInstance(Unknown Source)+
    +     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
    +     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
    +     at com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:64)+
    +     at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:75)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:751)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:539)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:241)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:181)+
    +     at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)+
    +     at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:251)+
    +     at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)+
    +     at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)+
    +     at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)+
    +     at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:647)+
    +     ... 20 more+
    Caused by: java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at java.lang.Class.getMethod(Class.java:1605)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.getMRequired(AbstractField.java:184)+
    +     ... 40 more+
    Thanks,
    Roy.

    Guys,
    You are asking about an issue that was a pain in the nick for me few months ago. The problem is that you won't find mych help here as I figured out that Apex geeks here either did not do much webservices or ended up hating it as i do :) . This is an error that can be due many different reason, let me ask you this:
    1- Does your the other system you are trying to call through webservices using HTTPS ?
    2- If yes, did you create a valid oracle wallet for that https connection ?
    3- Make sure you are using the correct URL ( am sure you do, just double check )
    4- If using a proxy, then you have to define that in the web service reference creation page
    provide more info and I hope I can help you with this,
    Sam
    Please reward good answers by marking them correct or helpful!

  • ORA-06502 when trying to create a web service reference

    Hi,
    I want to create a reference to mail a report from BI Publisher.
    Apparently the e-mail option is no longer available in the v2 webservices so I tried to create a web service reference to:
    .../xmlpserver/services/PublicReportService?wsdl
    I had no problems creating references to the v2 web services however I don't manage to create a reference for this WSDL.
    The last step gives me:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Thanks for tips or advice.
    Other workarounds to email a report are welcome as well. I tried to use the v2 webservices runReport & scheduleReport before but they don't seem to support this.
    Thanks!

    Okay, so email is available in the v2 webservices I found out. (despite stated in many blogpost it is not)
    --- ScheduleService
    If you're going to use it to send emails you need to create your webservice manually. Otherwise it will not work as the scheduleReport also can print, fax or save your report to webdav and you will need to remove these elements from you soapenveloppe to get it to work.
    This is not possible with the services created using the WSDL wizard.

  • Internal unkown error when trying to import a web service

    Hi!!!
    I need help to achive the possiblity to select methods from a web service, I get following errors:
    NET Web Service Proxy Tool Report for Web Service:
    Monday, May 14, 2007 10:53:44 AM
    Web Service URL: http://10.110.30.228/automation/v1.wsdl
    The following errors/warnings occurred when generating the local proxy dll and VI wrappers for this web service.
    Internal Unknown Error.
    Please contact National Instruments for help.
    C:\Program Files\National Instruments\LabVIEW 8.2\user.lib\WebService\chassie\.dll
    In addition, when opning Labview software I get a message that I do not have permission to read dll file located in directory of webservice.
    Hope for quick response.
    Best regards A

    Hi!!
    I did make a try with http post (see attachment) with the aim to send a soap xml in the http post.
    I do get an error when trying to parse the soap message (see message below).
    Do you have suggestions for improvement of this VI???
    All advice will be appresiated.
    A
    ##################################################​##################################################​#3
    HTTP/1.0 200 OK
    Date: Tue, 15 May 2007 13:24:20 GMT
    Server: Boa/0.94.13
    Connection: close
    Content-type: text/xml
    Cache-Control: no-store
    Expires: -1
    <?xml version="1.0"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope​">
      <env:Body>
        <env:Fault>
          <env:Code>
            <env:Value>envender</env:Value>
          </env:Code>
          <env:Reason>
            <env:Text xml:lang="en">Failed to parse SOAP message</env:Text>
          </env:Reason>
        </env:Fault>
      </env:Body>
    </env:Envelope>##################################################​#######################
    Attachments:
    Soap_post html.vi ‏31 KB

  • HTTP error when trying to access RESTful web service from application

    Hi,
    We are getting the following error when trying to access a RESTful web service coming from Apex workspace 4.2.1 and Apex listener 2.1:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-29024: Certificate validation failure
    In the Debug report, besides the above I also see:
    error_backtrace: ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 543 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 1164 ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 396
    We get that error whether we use https or http in the URI pointing to the web service. When I test the Web Service in Workspace RESTful service GUI, I get the data back. When I go build an application with a report calling the RESTful Web Service I get that error. Both the Application and the Workspace RESTful services are on the same Apex environment and even the same workspace.
    What is odd is that I can actually put the URL of the web service into a browser and I get the data: (using the demo hr data in sample RESTful services.)
    IN browser-- https://weblogic-dev.edu/apex/ace/hr/empinfo/
    yields:
    7839,KING,PRESIDENT,,1981-11-17T05:00:00Z,5000,,10 7698,BLAKE,MANAGER,7839,1981-05-01T04:00:00Z,2850,,30 7782,CLARK,MANAGER,7839,1981-06-09T04:00:00Z,2450,,10 7566,JONES,MANAGER,7839,1981-04-02T05:00:00Z,2975,,20 7788,SCOTT,ANALYST,7566,1982-12-09T05:00:00Z,3000,,20 7902,FORD,ANALYST,7566,1981-12-03T05:00:00Z,3000,,20 7369,SMITH,CLERK,7902,1980-12-17T05:00:00Z,800,,20 7499,ALLEN,SALESMAN,7698,1981-02-20T05:00:00Z,1600,300,30 7521,WARD,SALESMAN,7698,1981-02-22T05:00:00Z,1250,500,30 7654,MARTIN,SALESMAN,7698,1981-09-28T04:00:00Z,1250,1400,30 7844,TURNER,SALESMAN,7698,1981-09-08T04:00:00Z,1500,0,30 7876,ADAMS,CLERK,7788,1983-01-12T05:00:00Z,1100,,20 7900,JAMES,CLERK,7698,1981-12-03T05:00:00Z,950,,30 7934,MILLER,CLERK,7782,1982-01-23T05:00:00Z,1300,,10
    Any ideas on what would be causing the Error above in our application?
    Thanks,
    Pat
    Edited by: patfmnd on Mar 11, 2013 3:25 PM
    In reviewing the above error, I think we are realizing that we have to have the Weblogic layer SSL cert (actually the CERT from our BigIP load balancer which also does our SSL termination) imported into the Oracle server wallet where Apex is installed. Am I correct?
    PM

    We resolved our problem. The Apex Administrative Guide made us realize that we had to set up Wallet path in the Instance. This required working with DBAs to follow the Advanced networking guide to get the wallet set up on our server. We then added that path to the Instance configuration. (Manager Instance --> Instance settings). We ran into another other issue related to our implementation of CAS but were able to resolve that, and 'voila' were able to get the sample RESTful service consumed by our application!!
    Now to the task of figuring out how to get Basic Auth working between client application and RESTful web service. If anyone has that working, let us know!!
    It would be helpful if in the documentation of the Apex 2.x listener or Apex install/configuration there was clear reference to the above steps required for HTTPS access to RESTful web services.
    Pat

  • Error while trying to publish a web service in UDDI client

    hi
      i m getting this error when trying to publish my web service in UDDI client.I have
    configured my uddi client using Visual Administrator.I created a  local test registry.The name of my  registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
    The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
    In my alert window it displays error: 'ur_txt' is undefined.
    Regards
    mythri.

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Exception when trying to run an Web Application that uses a Web service

    Hello All,
    I get an exception when trying to run an Web Application that uses a Web service. The web application is a WebDynpro Application.(an application similar to the one "Using an Email Web Service in Web Dynpro" in the tutorial section of Web Dynpro but using a different web service)
    The exception is
    <b>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.</b>
    Could anyone give me an idea on what might be the problem ?
    Regards,
    Loveline.

    Hello,
    Like you said it was the problem with url.
    The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
    Thanks !
    Regards,
    Loveline.

  • Consumer Contact's Web Service CRM On Demand: Problem to do an operation!

    Hi,
    I'm trying to consume a Web service offered by CRM On Demand, namely it is the Contact object.
    The steps I followed were:
    1) Download the file .wsdl associated with contact from CRM On Demand
    2) Generate Proxy web service from JDeveloper 10g (version: 10.1.3)
    3) Configure the client to consume the resource and to do, for example, the contact’s insertion.
    I can make a login and a logout on the Web Service correctly, but when I try to do an insertion I can’t do it.
    The log generated by JDeveloper when running the client is as follows:
    WARNING: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    error: java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    at crmondemand.runtime.Contact_Stub.contactInsert(Contact_Stub.java:283)
    at crmondemand.ContactClient.contactInsert(ContactClient.java:96)
    at crmondemand.ContactClient.main(ContactClient.java:71)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
    at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
    at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
    at crmondemand.runtime.Contact_Stub.contactInsert(Contact_Stub.java:265)
    ... 2 more
    The HTTP Proxy Server settings (Tools-> Preferences-> Web Browser and Proxy) in JDevloper is:
    - Host name: www-proxy.au.oracle.com
    - Port: 80
    - Exceptions: xpvmware | *. oracle.com | *. peoplesoft.com | *. jdedwards.com | *. mlab.jdedwards.com | *. oracle.com | *. peoplesoft.com | *. jdedwards.com | * . mlab.jdedwards.com
    - No authentication.
    I'm not sure if it's a problem with HTTP proxy server settings or URL/ENDPOINT problem, because maybe I am trying to access an incorrect URL.
    If I try to access from the browser to this URL I can't access the wsdl, so I do not know if this address is correct, but is specified in the file. Wsdl:
    <soap:address location="https://secure-ausomxgfa.crmondemand.com/Services/Integration" />
    For this reason, I supposed that it is correct...
    I have tried to access via URL with the follows:
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration/Contact
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration/Contact?wsdl
    In all I have the next response from the Internet browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Client</faultstring>
    <detail>
    <ErrorCode>SBL-ODU-01001</ErrorCode>
    <ErrorMessage>An invalid command was specified: doGet with no data</ErrorMessage>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Since the client generated, I have tried with the follows:
    1) System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", endpoint);
    2) myPort.setEndpoint(endpoint);
    where endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration" + ";jsessionid=" + idSesion;
    or "https://secure-ausomxdsa.crmondemand.com/Services/Integration" (with both options I can do the operation...)
    and idSesion = logon("https://secure-ausomxdsa.crmondemand.com/Services/Integration",USERNAME,PASSWORD);
    Do you know what is the correct URL (endpoint)?
    Is that a correct HTTP proxy server configuration to invoke a Web service CRM On Demand? But so, what is the correct setting? And if it is a good configuration, what am I doing wrong?
    The source code from my client is:
    String idSesionFull=null, idSesion=null, endpoint=null;
    try {
    crmod.DefaultClient myPort = new crmod.DefaultClient();
    System.out.println("Invoking: " + myPort.getEndpoint());
    ListOfContact list = new ListOfContact();
    ListOfContact outlist = new ListOfContact();
    Contact[] contacts=new Contact[2];
    Contact contact=new Contact();
    //ContactWS_ContactInsert_Input in=new ContactWS_ContactInsert_Input();
    //ContactWS_ContactInsert_Output out=new ContactWS_ContactInsert_Output();
    // Login WS (HTTPS)
    //URL = "https://secure-ausomxdsa.crmondemand.com/Services/Integration"
    idSesionFull=conexionWS_CRM.logon(URL,USERNAME,PASSWORD);
    idSesion = conexionWS_CRM.getSessionId(idSesionFull);
    //Another option I have tested: endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration" + ";jsessionid=" + idSesion;
    endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration";
    myPort.setUsername(USERNAME);
    myPort.setPassword(PASSWORD);
    myPort.setEndpoint(endpoint);
    System.setProperty("javax.xml.rpc.service.endpoint.address", endpoint);
    System.setProperty("javax.xml.rpc.security.auth.username", USER);
    System.setProperty("javax.xml.rpc.security.auth.password", PASSWORD);
    System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", endpoint);
    // Add contacts
    for (int i = 0; i < contacts.length; i++) {
    contact.setContactId("WSCRM"+i);
    contact.setContactFirstName("JDeveloper"+i);
    contact.setContactLastName("prove"+i);
    contact.setCellularPhone("77777777"+i);
    contact.setExternalSystemId("1234"+i);
    contacts=contact;
    list.setContact(contacts);
    //in.setListOfContact(list);
    //in.setEcho("OFF");
    outlist=myPort.contactInsert(list,"OFF"); //<--- Is it correct????
    Contact[] results = new Contact[2];
    Contact result = new Contact();
    for (int i = 0; i < contacts.length; i++) {
    results=outlist.getContact();
    System.out.println("ID:"+results[i].getContactId()+" Name:"+results[i].getContactFirstName());
    // Logout WS (HTTPS)
    logoff(URL, idSesion);
    } catch (Exception ex) {
    System.out.println("error: "+ex);
    ex.printStackTrace();
    logoff(URL, idSesion);
    Any idea to solve this problem?
    Thank you very much in advance for any help.
    Edited by: user12158402 on 03-nov-2009 12:39
    Edited by: user12158402 on 03-nov-2009 12:45
    Edited by: user12158402 on 03-nov-2009 12:47

    Hi Royston,
    thank you for your help, but unfortunately I have the same error message.
    Here is the XML I use, I added the authentication that you provided me.
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Header>
         <wsse:Security>
              <wsse:UsernameToken>
                   <wsse:Username>EUROMASTERFR/AELMASKOUNE</wsse:Username>
                   <wsse:Password>aqwAZE19</wsse:Password>
              </wsse:UsernameToken>
         </wsse:Security>
    </soapenv:Header>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:crmondemand/ws/account/10/2004" xmlns:xsdLocal1="urn:/crmondemand/xml/account">
    <soap:Body>
    <tns:AccountWS_AccountQueryPage_Input>
    <tns:PageSize>10</tns:PageSize>
    <xsdLocal1:ListOfAccount>
    <xsdLocal1:Account>
    <xsdLocal1:CurrencyCode/>
    <xsdLocal1:AccountName>IBM</xsdLocal1:AccountName>
    </xsdLocal1:Account>
    </xsdLocal1:ListOfAccount>
    <tns:StartRowNum>0</tns:StartRowNum>
    </tns:AccountWS_AccountQueryPage_Input>
    </soap:Body>
    </soap:Envelope>
    but for (xmlns: WSSE = "http://schemas.xmlsoap.org/ws/2002/xx/secext" do not forget to enclose the tag with a '>') I do not know to include it.
    Best Regards.
    Anas

  • How do i contact a web service using forms 6.0?

    I need my application (using Forms [32 Bit] Version 6.0.8.13.0 (Production) and oracle 8) to get some informations from a web service. Does anybody have a suggestion?
    I thought I could make a java bean to contact the web service and then put a java bean in a bean area but it doesn't seem to work for a client service application (either that or i did something wrong trying, but the result of a google search claims that "Javabean integration in Oracle Forms is a Forms on the Web feature only. It won't work in client server mode.")
    Please, I would appreciate any suggestion to allow the form to colloquiate with the web service.

    That's not the answer I was hoping for (1) but I have to admit that's pretty much what I expected. I did some google search and every hint was in that direction.
    I'll see if I can put put together a activex or ole2 to get the same result, even if i have next to no experience on building such components. If everything else fails I'll just have my form call a separate executable via "host" command and wait for the answer either on the db or on a file.
    Thanks
    (1) the answer I was hoping for was something among the lines of "Who cares? I've got this truckload of money I don't know what to do of, so I'll just give it to you. Quit that boring job and retire in luxury on some private island with a harem of perfect looking women". Quite unlikely,I know, but since I'm hoping, why shouldn't I hope for the best possible outcome?

  • Error when trying to "Save for Web"

    I, like others have the same problem in Photoshop Elements 6 editor when trying to "Save for Web". I get an error: 
    could not complete the export command because of a program error
    I've searched the forum, but it seems like no one has found a solution.
    I have a new PC with Windows 7 on it. It's Win 7 Ultimate 64-bit. i5 processor, 16GB RAM and plenty of HD space.
    I am running Photoshop Elements 6.
    When I used the same version of Photoshop Elements 6 on my old XP computer, I didn't have this problem.
    Adobe Photoshop Elements Language Version: 6.0 (6.0 (20070910.r.377499))
    Operating System: Windows Vista
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP
    Physical processor count: 4
    Built-in memory: 15822 MB
    Free memory: 11064 MB
    Memory available to Photoshop: 1621 MB
    Memory used by Photoshop: 55 %
    Image cache levels: 6
    Serial number: 10571087952197841429
    Application folder: D:\Program Files\Adobe Photoshop Elements\
    Temporary file path: C:\Users\Roger\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 111.7G, 76.2G free
    Primary Plug-ins folder: D:\Program Files\Adobe Photoshop Elements\Plug-Ins\
    Additional Plug-ins folder: not set
    Installed plug-ins:
       3D Transform 10.0 (10.0x001)
       ADM NO VERSION
       ASDStrm NO VERSION
       Accented Edges 9.0
       Angled Strokes 9.0
       Auto Divide 6.0.0.0 (6.0 (20070910.r.377499))
       Average 10.0 (10.0x001)
       BMP 10.0 (10.0x001)
       Bas Relief 9.0
       Camera Raw 4.2
       Chalk & Charcoal 9.0
       Charcoal 9.0
       Chrome 9.0
       Clouds 10.0 (10.0x001)
       Color Halftone 10.0 (10.0x001)
       Color Variations 10.0 (10.0x001)
       Colored Pencil 9.0
       CompuServe GIF 10.0 (10.0x001)
       Conditional Mode Change 10.0 (10.0x001)
       Conté Crayon 9.0
       Correct Camera Distortion 9.0
       Craquelure 9.0
       Crop and Straighten Photos Filter 10.0 (10.0x001)
       Crosshatch 9.0
       Crystallize 10.0 (10.0x001)
       Cutout 9.0
       Dark Strokes 9.0
       De-Interlace 10.0 (10.0x001)
       Difference Clouds 10.0 (10.0x001)
       Diffuse Glow 9.0
       Displace 10.0 (10.0x001)
       Dry Brush 9.0
       Extrude 10.0 (10.0x001)
       FastCore Routines 10.0 (10.0x001)
       Fibers 10.0 (10.0x001)
       Film Grain 9.0
       Filmstrip 10.0 (10.0x001)
       Filter Gallery 9.0
       Frame From Video 6.0
       Fresco 9.0
       Generic EPS 10.0
       Glass 9.0
       Glowing Edges 9.0
       Grain 9.0
       Graphic Pen 9.0
       Halftone Pattern 9.0
       Ink Outlines 9.0
       JPEG 2000 2.0
       Lens Flare 10.0 (10.0x001)
       Lighting Effects 10.0 (10.0x001)
       Liquify 7.0
       MMXCore Routines 10.0 (10.0x001)
       Magic Extractor 10.0 (10.0x001)
       Matlab Operation 10.0 (10.0x001)
       Mezzotint 10.0 (10.0x001)
       Mosaic Tiles 9.0
       Multiprocessor Support 10.0 (10.0x001)
       NTSC Colors 10.0 (10.0x001)
       Neon Glow 9.0
       Note Paper 9.0
       Ocean Ripple 9.0
       OnEdge 1, 0, 0, 1
       PCX 10.0 (10.0x001)
       PNG 10.0 (10.0x001)
       PNG Icons 1.22x1
       Paint Daubs 9.0
       Palette Knife 9.0
       Patchwork 9.0
       Photocopy 9.0
       PhotomergeUI 10.0 (10.0x001)
       Picture Package Filter 10.0 (10.0x001)
       Pinch 10.0 (10.0x001)
       Pixar 10.0 (10.0x001)
       Plaster 9.0
       Plastic Wrap 9.0
       Pointillize 10.0 (10.0x001)
       Polar Coordinates 10.0 (10.0x001)
       Poster Edges 9.0
       Radial Blur 10.0 (10.0x001)
       Read Watermark 1.70.19
       Reticulation 9.0
       Ripple 10.0 (10.0x001)
       Rough Pastels 9.0
       Save for Web 3.0
       ScriptingSupport 10.0
       Shear 10.0 (10.0x001)
       Smart Blur 10.0 (10.0x001)
       Smudge Stick 9.0
       Solarize 10.0 (10.0x001)
       Spatter 9.0
       Spherize 10.0 (10.0x001)
       Sponge 9.0
       Sprayed Strokes 9.0
       Stained Glass 9.0
       Stamp 9.0
       Straighten Image 10.0 (10.0x001)
       Straighten and Crop Image 10.0 (10.0x001)
       Sumi-e 9.0
       Targa 10.0 (10.0x001)
       Texture Fill 10.0 (10.0x001)
       TextureSelect 10.0 (10.0x001)
       Texturizer 9.0
       Tiles 10.0 (10.0x001)
       Torn Edges 9.0
       Twain Acquire 10.0 (10.0x001)
       Twain Select 10.0 (10.0x001)
       Twirl 10.0 (10.0x001)
       Underpainting 9.0
       WIA Support 10.0 (10.0x001)
       Water Paper 9.0
       Watercolor 9.0
       Wave 10.0 (10.0x001)
       Wind 10.0 (10.0x001)
       Wireless Bitmap 10.0 (10.0x001)
       ZigZag 10.0 (10.0x001)
    Plug-ins that failed to load: NONE
    Installed TWAIN devices:
       WIA-HP Scanjet 4800 series

    I also tried the alt/ctrl/shift buttons when clicking Editor in the Photoshop welcome screen. It did ask if I wanted to reset the preferences. I chose yes. I still get the same error message when trying to save for web.
    Below....showing I don't have a "save for web" folder on my C drive.
    And below, showing the same error after pressing alt/shift/ctrl when clicking on editor and clearing the preferences.
    I don't have a 'Save for Web' folder anywhere on my C: drive. I searched and came up with no folder with the text "save for web" in it.
    I did find a "save for web" folder on my D: drive and deleted that.. but now when I start up Photoshop, the option for Save for Web is grayed out...not able to select it.

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Problem trying to call a web service.

    I have a CF page that needs to use user authentication from an ASP.NET machine, so I'm trying to call a web service to determine whether or not the user has been authenticated.
    I'm using this code:
    <cfinvoke
        webservice="https://my-domain.com/SessionQueryService?wsdl"
        method="UserLookupServiceService"
        returnvariable="authenticated"
        >
    Running this returns the following error:
    Unable to read WSDL from URL: https://my-domain.com/SessionQueryService?wsdl.
    Error: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.
    I'm assuming this is a certiificate problem, since when I visit the ASP.NET machine via a browser, I get a certificate warning and have to add an exception.  Is my assumption correct, and is there a way around it?

    Now I have the sesssion ID I needed, and it's on to the next point of failure.
    Web service operation userLookupBySessionResponse with parameters {applicationName={xxxx},endUserIPAddress={xxxx},accessCode={xxxx},sessionId={xxxx}} cannot be found.
    I've Googled and Googled, with no luck.  If I browse my web service URL I get an Axis 1.4 XML file with several entries.  I'm assuming that the "wsdl:message name=" part is what I use for my <cfinvoke> method, but I could be wrong.  I assume that because there are "wsdl:part name="s that match my invokearguments.
    It seems like I'm doing everything right, yet still the message above.  I have no idea where to go from here.

  • Out of memory when coverting large files using Web service call

    I'm running into an out of memory error on the LiveCycle server when converting a 50 meg Word document with a Web service call.  I've already tried increasing the heap size, but I'm at the limit for the 32 bit JVM on windows.  I could upgrade to a 64 bit JVM, but it would be a pain and I'm trying to avoid it.  I've tried converted the 50 meg document using the LiveCycle admin and it works fine, the issue only occurs when using a web service call.  I have a test client and the memory spikes when it's generating the web service call taking over a gig of memory.  I assume it takes a similar amount of memory on the receiving end which is why LiveCycle is running out of memory.  Does any one have any insight on why passing over a 50 meg file requires so much memory?   Is there anyway around this?
    -Kelly

    Hi,
    You are correct that a complete 64bit environment would solve this. The problem is that you will get the out of memory error when the file is written to memory on the server. You can solve this by creating an interface which stores large files on the server harddisk instead, which allows you to convert as large files as LC can handle without any memory issue.

  • I am getting this message when trying to upload an album to Apple from iPhoto - An error occurred when trying to contact the Apple on-line Store. Please try again later!!!

    I am getting this message when trying to upload an album to Apple from iPhoto - An error occurred when trying to contact the Apple on-line Store. Please try again later!!!

    Do you mean trying to purchase an iPhoto book?  Try rebooting and ordering again.  If that fails Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and try ordering from there.
    OT

Maybe you are looking for

  • Data source CFMXBible.mdb could not be found.

    Hello I am following the book CFMXBible and I got it set up. but in the beginning of the tutorial there is a form that is suppose to sent the contents of my form to the db. After I press the submit button, I get this error' What is wrong here? What s

  • Help to upgrade to Mac OS X From Mac OS 9.2.2

    Hi Mac World Some years ago I parched from then the company (XLR8) an upgrade MACh Speed G4z w/MVP™ CPU ZIF 500 MHz Doughtercard for my Mac Blue and White G3 OS9 to upgrade it to a G4 with the same OS9. (Now upgraded to OS 9.2.2). Now I would like to

  • Error Message: "The file 'iTunes Library.itl" cannot be read..."

    I'm trying to install iTunes on my machine and am getting this error message: "The file 'iTunes Library.itl" cannot be read because it was created by a newer version of iTunes." Does anyone know why? How can I fix this?

  • Probelm regarding timing when insert a record

    hello all, i want to insert a time with date in my one of my column how can i do that can i use sysdate or to_date(sysdate) right now it shows me 12.0. in my timing . any help appriciated .

  • Installing new HD. Are these console messages indicative of problems?

    I am installing a new 1TB drive in my early 2011 17" Macbook Pro. Ever since installing Mavericks last year, I have had trouble with slowness, keychain, mail, slow populating, etc., but now it is working more normally. I have turned off keychain to s