Web service invokation problem

Hi,
I am having problem when consuming .net web service. This web
service expects xmlobject which I create using <cfxml> tag. I
have used <cfinvoke> and CreateObject without any success.
First I get following error message:
java.lang.IllegalArgumentException: argument type mismatch
After I refresh few times (15 or so) I get following error
message: java.lang.IllegalArgumentException:
java.lang.ClassCastException@1645559. I am not sure wher is the
problem.
Thanks,
Mark

Here is my code;
<cfxml variable="xmlobject">
<cfoutput>
<Orders xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns="" Version="1.0"
xsi:noNamespaceSchemaLocation="Order.xsd">
<Order>
<Customer_Data>
<SkipDupCheck>N</SkipDupCheck>
<UserId>public</UserId>
<SkipAddressCheck>Y</SkipAddressCheck>
<ChainNbr />
<StoreNbr />
<SansNbr />
<CustNbr />
<BillTo>23423</BillTo>
<ShipTo>43242</ShipTo>
<MacAcct />
<ZipStateCountry />
<ShortName />
<OneTimeShipInfo>
<Name>Joe Test</Name>
<Addr1>11 Test Ave</Addr1>
<Addr2>Town Hall</Addr2>
<Addr3 />
<City>Bethlehem</City>
<State>NY</State>
<ZipPostalCode>112222323</ZipPostalCode>
<CountryCode>US</CountryCode>
</OneTimeShipInfo>
<BillToOnly>N</BillToOnly>
</Customer_Data>
<CreditCardInfo>
<CardNbr />
<ExpDate />
<AreaCode />
<PhoneNbr />
<Contact />
<Trigger />
</CreditCardInfo>
<Deliver_Option>
<ShipVia />
<FreightTrm />
<ArriveBy />
<DeliverOn />
<NotBefore />
<ShipOn />
<FreightAmt />
<HandlingFee />
</Deliver_Option>
<SpecialInstructions>
<AuthAppearance />
<SpecInstr1 />
<SpecInstr2 />
<SpecInstrComments1 />
<SpecInstrComments2 />
<SpecInstrComments3 />
</SpecialInstructions>
<ReceiptDate />
<OrderSource>DC</OrderSource>
<OrderType>NC</OrderType>
<RushCode>N</RushCode>
<MarkFor>test</MarkFor>
<CartonRound />
<BatchNbr />
<PrintOption />
<StatusOverride />
<WarehouseCode />
<Royalty />
<Facility />
<SalesHurt />
<BarCodeNumber />
<AddSource />
<Voucher />
<TaxClassOver />
<InvoiceRoute />
<BOShipDate />
<NotToExceed />
<PrintBindOrderNumber />
<ShipWOFlag />
<WorkOrderNumber />
<CancelDate />
<CancelDays />
<AdditionalDiscount />
<Promotion />
<CustomerPurchaseOrder>312321</CustomerPurchaseOrder>
<OvrdDisc />
<DatingCode />
<OvrNetPrice />
<AccountDiscountClassOvrd />
<BOPref />
<NYPPref />
<BSBPref />
<InvoiceCombinationPref />
<LineItems>
<LineItem>
<ItemNumber>1</ItemNumber>
<Qty>1</Qty>
<AltTitleCode />
<ISBN>1234567890</ISBN>
<PromoKey />
<NetPrice />
<Discount />
<FreightTerms />
<TitleStatusOvrd>AS</TitleStatusOvrd>
<SubstituteOvrd />
<TransportOvrd />
<BackOrderCanOvrd />
</LineItem>
</LineItems>
</Order>
</Orders>
</cfoutput>
</cfxml>
<cfset ws_obj = CreateObject("webservice", "
http://host/webservices/orderentry/orderentry.asmx?WSDL")>
<cfdump var="#ws_obj#">
<cfset ws_ret_ = ws_obj.placeOrder(#xmlobject#)>

Similar Messages

  • Web service invoking problem with websphere server

    HI all,
    I am getting the following exception while running the FedEx web service application in RAD.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at fedex.ws.rate.v4.RateServiceSoapBindingStub.getRates(RateServiceSoapBindingStub.java:1046)
         at com.lgs.fedex.FedexClient.getFedexRates(FedexClient.java:173)
         at com.lgs.fedex.FedexClient.getFedExCost(FedexClient.java:95)
         at com.lgs.fedex.FedexClient.main(FedexClient.java:52)
         {http://xml.apache.org/axis/}hostname:LGSCP0359
    java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at fedex.ws.rate.v4.RateServiceSoapBindingStub.getRates(RateServiceSoapBindingStub.java:1046)
         at com.lgs.fedex.FedexClient.getFedexRates(FedexClient.java:173)
         at com.lgs.fedex.FedexClient.getFedExCost(FedexClient.java:95)
         at com.lgs.fedex.FedexClient.main(FedexClient.java:52)
    Caused by: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         ... 13 more
    Please help me what is the problem...
    Thanks in advance

    Hello,
    Sorry... I don't have an answer to your question... :(
    However, I just started trying to figure out the FedEx Web Service stuff. So far, I haven't gotten very far. I've got AXIS and some ShippingService code downloaded but can't seem to figure out how to implement or test it... or any service. Have you found or got any basic Java code that connects to the endpoint and sends a request?
    Any help would be much appreciated.
    thanks, brian

  • Web service invoke error

    Hello,
    I have Tomcat 3.3.1a web container running with JSP that acts like Weblogic 7.0
    SP2
    webservice client. However, when I try to send data file to webservice, I get
    the following
    error:
    web service invoke failed; nested exception is:
    javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=class javax.activation.DataHandler class context=TypedClassContext{schemaType=['http://www.ma.ee']:register}
    It is SOAP With Attachments style webservice. Is it related somehow with javax.activation.Datahandler
    class? Please answer urgently!
    Best regards,
    Ago Meister

    Hello,
    What is the content type you are trying to send?
    Also, I would encourage all urgent questions to be directed to our
    outstanding support group: [email protected] http://support.bea.com
    Thanks,
    Bruce
    Ago Meister wrote:
    >
    Hello,
    I have Tomcat 3.3.1a web container running with JSP that acts like Weblogic 7.0
    SP2
    webservice client. However, when I try to send data file to webservice, I get
    the following
    error:
    web service invoke failed; nested exception is:
    javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=class javax.activation.DataHandler class context=TypedClassContext{schemaType=['http://www.ma.ee']:register}
    It is SOAP With Attachments style webservice. Is it related somehow with javax.activation.Datahandler
    class? Please answer urgently!
    Best regards,
    Ago Meister

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • About XML Parameter for Web Service invoking

    I would like to use the XML parameter as the Web Service's input(Attachment is
    the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and
    use the WebLogic Server generate test web page to test it, I got Exception. The
    WebLogic Server can't constructe the input XML.
    The correct XML should look like this:
    <ids>
    <desc>Description</desc>
    <id>1</id>
    <id>2</id>
    <id>3</id>
    </ids>
    Is there any one can tell me whether this kind of XML was permitted for Web Service
    invoking or not?
    [sample.xsd]

    Hi Andy,
    On the test page, before the invoke of the operation, did it say
    something like:
    <!-- Do not know how to create a sample instance for this part due to
    the following exception:java.lang.InstantiationException:
    javax.xml.soap.SOAPElement. Pls replace this with the correct XML before
    invoking the service. --->
    if so, the service itself may be working OK, the deficiency is that the
    test page tries its best to determine sample values for the invoke,
    however it does not know in this case.
    Did you try with a client?
    Your XML should be fine.
    Regards,
    Bruce
    Andy wrote:
    >
    I would like to use the XML parameter as the Web Service's input(Attachment is
    the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and
    use the WebLogic Server generate test web page to test it, I got Exception. The
    WebLogic Server can't constructe the input XML.
    The correct XML should look like this:
    <ids>
    <desc>Description</desc>
    <id>1</id>
    <id>2</id>
    <id>3</id>
    </ids>
    Is there any one can tell me whether this kind of XML was permitted for Web Service
    invoking or not?
    Name: sample.xsd
    sample.xsd Type: ACT Project (text/xml)
    Encoding: base64

  • Web service call problem with complex types input

    We are trying to call a web service and pass as parameter
    some complex types. When invoking the web service everything works
    well on flex side, but on the server side the input parameters we
    get from flex are not correct - complex type is removed and the
    elements of the complex type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input from flex ?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Web Service Installation Problem

    Hello,
    I am working with Java Web services having some prolems need urgent help. The problem is that after installing the web service on the perticular host i got the following error. Where "IResourceAdmin" is the interface for the web service.
    Error:
    failed to instantiate service implementor for port "IResourceAdmin"
    at com.sun.xml.rpc.server.http.ea.ImplementorFactory.getImplementorFor(ImplementorFactory.java:105)
    at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:129)
    at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    [ERROR] http - -failed to instantiate service implementor for port "IResourceAdmin" <failed to instantiate service implementor for port "IResourceAdmin">
    P.S. I can see the wsdl file at the following url
    "http://server-name:5432/ZeraRAWebServices/jaxrpc?WSDL", but while calling it from Perl routine it does noting, just log an error in catalina.out log file.

    Have you figured out a solution for this problem? I recently encountered the same error message, when I attempted to take a working web service I have built and move it from Tomcat 4.0.5 to Tomcat 4.1.12. I have not changed anything at all, and now I am getting this "failed to instantiate service implementor for port ..." error very similar to what you have described.

  • Web Service - Invoke Web Service not trapping errors

    Greetings All:
    I am having an issue trying to trap errors coming out of the Invoke Web Service service.
    I have a Fault Route set up for SYSTEM EXCEPTION, and direct it to an ExecuteScript service.
    If the process I am developing fails, it appears to leave the web service "open". The next time the process is invoked, it will fail on the Web Service call.
    When my process fails, this failure route is never taken.
    I do not know why the initial failure does not "clean-up" after itself.
    I also do not know why the Web Service call does not follow the failure route.
    This is a turnkey 8.2 install on Windows Server 2003 running JBoss.
    Any assistance on how to overcome these problems would be greatly appreciated.
    Thank You
    Mark
    My process dies with the following ending up in the system log:
    2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.impl.wsdl.WsdlSubmit] Exception in request: java.net.SocketException: Connection reset
    2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.SoapUI] An error occured [Connection reset], see error log for details
    2009-03-12 16:53:18,144 ERROR [soapui.errorlog] java.net.SocketException: Connection reset
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
    at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
    at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
    at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.re adLine(MultiThreadedHttpConnectionManager.java:1382)
    at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.TimeablePostMethod.readResponse(Timea blePostMethod.java:56)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java :397)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:17 0)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendReques t(HttpClientRequestTransport.java:142)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:72)
    at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:370)
    at com.adobe.idp.dsc.webservice.WebServiceSoapUIInvoker.invoke(WebServiceSoapUIInvoker.java: 126)
    at com.adobe.idp.dsc.webservice.WebServiceImpl.invoke(WebServiceImpl.java:93)
    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.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at sun.reflect.Ge

    Hi Mark,
    Did you find out the origin of this problem? I've got a similar issue (without the stacktrace) and any help would be great!
    Thanks,
    Romain.

  • Web Service Activity problem

    Hi,
    I want used the "Invoke Web Service" activity but my "WSDL URL" don't work.
    However, when I put my url (http://172.31.194.112:8080/contactRH/services/ContactRHAccess?wsdl) on IE, I can read my web service.
    I think that don't work because this url have a bad type.
    So, how can I load my web Service ?
    Thanks

    Hi,
    Thanks,I have found the problem (type="xsd:string" and not type="xsd:String").
    But, if I try to use an internet webservice (http://www.webservicex.net:85/LloydsRiskCodeService.asmx?wsdl or
    http://api.google.com/GoogleSearch.wsdl) that doesn't work (connection timed out :connect or connection reset).
    But if I use this web service on my computer, that work.(C:\...\name.wsdl).
    So, when I say "that work" that mean my WSDL URL is loaded.
    Is it normal?
    Thanks.

  • Axis Client Web Service call problem: java.io.IOException: Stream closed

    Hi, I tried to call a webservice from Axis Client, and I encounter the following error. Do you guys have any idea what actually happens?
    Please help, I am newbie in web services.
    ==============Root Cause===============
    AxisFault
    faultCode: { h t t p : / / schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.io.IOException: Stream closed
    faultActor:
    faultNode:
    faultDetail:
         {h t t p : / / xml.apache.org/axis/}stackTrace:java.io.IOException: Stream closed
         at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
         at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
         at java.io.FilterInputStream.read(FilterInputStream.java:111)
         at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
         at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase.java:688)
         at org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:796)
         at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:224)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
         {h t t p : / / xml.apache.org/axis/}hostname:compname
    java.io.IOException: Stream closed
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:301)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)     
    Caused by: java.io.IOException: Stream closed
         at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
         at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
         at java.io.FilterInputStream.read(FilterInputStream.java:111)
         at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
         at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase.java:688)
         at org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:796)
         at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:224)
         ... 17 more  I am calling through proxy, the setting is as follows:
                System.setProperty("https.proxyHost", [proxyname here]);
                System.setProperty("https.proxyPort", [proxyport here]);
                System.setProperty("http.proxyHost", [proxyname here]);
                System.setProperty("http.proxyPort", [proxyport here]);

    Are there any problems showing up in the server's log?

  • Urgeent:  Web Service Invokation Error form BPM studi

    Hi
    I'm using BPM Studio 10.3.
    I have a Web service and i want to call it form my process. But whenever I invoke it a problem occures.
    I can invoke it from my code out of studio.
    The complete exception message is:
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'java.net.SocketException: Connection reset'.
    Bye
    Edited by: user1045467 on Mar 3, 2009 10:12 PM

    Hi everybody
    I found the solution.
    It was all for my windows. I used windows Xp Service Pack 3.
    I run my process on other computer running windows XP Service Pack 2 and everything was fine, I invoked service successfully.
    The bad thing about windows was that I could invoke my service from another java code, but when invoking it from BPM suite had errors.
    Bye

  • Web service call problem

    We are trying to call a web service and pass as parameter
    some complex
    types. When invoking the web service everything works well on
    flex
    side, but on the server side the input parameters we get from
    flex are
    not correct - complex type is removed and the elements of the
    complex
    type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input
    from flex ?

    May be wrong, but I don't think the WebService
    <request> tag can accept nested parameters, such as what
    you're doing with <parameter4>. Each element name in the xml
    pair must match a parameter name in the Web Service WSDL. I think
    Flex would just ignore <parameter4> and not send it.

  • Report with subreports. Web Service/XML problem. Please help!

    Hi,
    I have a composite report (main report with 9 subreports). The report uses web service as datasorce and is provided with single xml file containing the schema and all the tables for the main reports and its subreports.
    The problem I encounter is that i have to establish a connection for each subreport in order to get it work and it is the same connection. Moreover, I have observed that each time a subreport is drilled there is distinct call to the web service.
    So, i end up having a single .rpt file which makes up to 10 unnecessary calls over http just get the same xml data ???
    I've tried everything to solve this problem without any success.
    Option 1: Removing subreports. Not posible because main report can not handle multiple detail section separately.
    Option 2: Using multiple detail section in main report and conditionally suppress rows. Not possible
    Option 3: Removing datasource from subreports and pass array variables instead. Not posible
    Option 4: Remove subreports and use crosstabs in main report. Not posible
    Any ideas?
    Please I would greatly appreciate any input, I am getting quite desperate about this.
    Thank you very much.

    Subreports make their own data connection, the reason why subreports are used for other data sources.
    Post to the Report Design forum to help on redesigning the report

  • Web Service connect problem, Please Help!!!

    I developed a web service end point following the pattern of adventure as Purchase Order End Point Bean,
    WSDL is correctly generated for both Server anc Client End:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="DownloadWSService" targetNamespace="urn:DownloadWSService" xmlns:tns="urn:DownloadWSService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types/>
    <message name="DownloadWSInterface_downloadWorkAssignments">
    <part name="String_1" type="xsd:string"/></message>
    <message name="DownloadWSInterface_downloadWorkAssignmentsResponse">
    <part name="result" type="xsd:boolean"/></message>
    <portType name="DownloadWSInterface">
    <operation name="downloadWorkAssignments" parameterOrder="String_1">
    <input message="tns:DownloadWSInterface_downloadWorkAssignments"/>
    <output message="tns:DownloadWSInterface_downloadWorkAssignmentsResponse"/></operation></portType>
    <binding name="DownloadWSInterfaceBinding" type="tns:DownloadWSInterface">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="downloadWorkAssignments">
    <soap:operation soapAction=""/>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></output></operation></binding>
    <service name="DownloadWSService">
    <port name="DownloadWSInterfacePort" binding="tns:DownloadWSInterfaceBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    and I deployed both server and client end of this web service on Sun One Application 7 (Developer version) successfully, in the application server log, I can see the info :
    [#|2004-04-16T15:08:20.865+1000|INFO|j2ee-appserver1.4|javax.enterprise.system.t
    ools.deployment|_ThreadID=12;|DPL5306:EJB Web Service Endpoint [DownloadWSInterf
    acePort] listening at address [http://localhost:8080/webservice/DownloadWSBean]|#
    But when I try to call it on the client side, I got the error and here is the log:
    2004-04-16 15:48:28,477 WEB DEBUG [http8080-Processor4] - Port Info is http://localhost:8080/webservice/DownloadWSBean
    calling download ws endpoint java.rmi.RemoteException: HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean; nested exception is:
    HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean
    Could anyone help and point to me a right direction, I have been hunting the problem for days and couldnt find a clue.
    Thanks a lot in advance!

    Hi, I finally solved this problem, the JDNI entry value is not configured properly for the session bean that's built for the service end point.
    Changed JNDI value, and use that value in the service locator to look up the session bean home, it worked.

  • Web Services Security Problem

    hi all,
    I am publishling the BC4J Component(Application module) as a webservice. The particular web service method will be as follows. The method is returning the element object.
    public Element getEmp(String searchString,String selectedItem, int pageNoInput)
    return (Element)hits.writeXML(1,Row.XML_OPT_LIMIT_RANGE);
    I am securing the web service by the instructions which are given in the following link
    http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html
    Then i am creating the proxy client. when i run the proxy client it gives me the following exception
    javax.xml.rpc.soap.SOAPFaultException: SOAP must understand error: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:553)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at aptuitclient.runtime.ReviewProtocolAppModuleServiceSoapHttp_Stub.getEmp(ReviewProtocolAppModuleServiceSoapHttp_Stub.java:91)
         at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.getEmp(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:58)
         at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.main(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:44)
    When i am removing the security for the web service it is giving the Element object.
    The Problem is when i am securing the web service it is giving the above said exception.
    Please help me regarding this... this is very urgent...
    rgds
    Parameswaran

    Hello,
    When you are using WS-Security you need to secure the client too. So in your case the client is the ADF Data Control.
    The way you should configure your data control is documented here:
    - Web Services Security and ADF Data Control
    Regards
    Tugdual Grall

Maybe you are looking for

  • How do I update a JTable immediately after editing a cell?

    I have a JTable where I use a JComboBox to select a value in a cell. When a value is selected this updates another cell in the JTable. This works like I want to except for that I have to deselect the JComboBox (ie. click in another cell) before the o

  • Silverlight 5

    Mac OS X 10.8.5  Safari 6.2.3 Silverlight 5 downloads, the .pkg won't open. Message said that developer cannot be confirmed. A search for Silverlight on the computer shows Silverlight 1 and 2 and 3 Do I need to delete all those previous versions? And

  • I installed adobe reader x but not every PDF downloads. Help. Have dell vista 64 bit and use interne

    Have downloaded adobe reader x but not all PDF docs download, particularly NYC forms Help I use internet explorer and have dell vista 64 bit Thanks

  • Dynamic Action help please

    Good day I am a new user to SAP (roughly 6 weeks), focussing on the HR side. I have been asked to attempt to compile the code for the following requirement: Capture IT9007 (Service History) for new employees, or those who have a change in Position Th

  • Interaction with Content behind Transparent Flex App

    Hi, I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through.  In this case, what's showing through is another Flash application.  This works fine, but I can't i