OC4J10.1.3 WebService proxy issue

Hi all:
Recently I have found that the web service assembler of oc4j has changed a lot from 10.1.2 version to 10.1.3. And I have confronted a issue now:
After I use -genProxy to generate a web service proxy, I have a simple test with the XXXClient.java. And it works fine. But when I try to continually invoke the web service with the same object of XXXClient.java. I will get the following exception after only the first time success:
java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to read response: null; nested exception is:
     HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to read response: null
     at my.demo.stubOwn.runtime.HelloTestBinding_Stub.sayhello(HelloTestBinding_Stub.java:90)
     at my.demo.stubOwn.HelloTestClient.sayhello(HelloTestClient.java:48)
     at my.demo.stubOwn.HelloTestClient.main(HelloTestClient.java:34)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to read response: null
     at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:133)
     at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:115)
     at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:165)
     at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
     at my.demo.stubOwn.runtime.HelloTestBinding_Stub.sayhello(HelloTestBinding_Stub.java:74)
     ... 2 more
I have skimed through the proxy code, and I guess the same object may record some state of the latest invoking. Need I generate a new XXXClient object to call a web service every time?
Any suggestion of solution will be appreciated! Thanks!

I feel sorry of missing a very important detail. The soap resposes of server side have been compressed vai gzip, and when I throw the compress filters of server side off.
The exceptions gone.
So the situation is when invoking web service which have been compressed continually in one thread, the Httpconnect may be maintained, then I will get the exceptions above.
Still waiting for suggestions.

Similar Messages

  • JDev 10.1.3 WebService Proxy Issue

    I have created a WebServiceProxy using a WSDL file. It create the necessary files. When running the SoapClient (created by Jdev) it is throwing the following exception
    java.rmi.RemoteException: Runtime exception; nested exception is:
         unexpected element name: expected={http://govconnect.com/epay}TotalAmount, actual={http://govconnect.com/epay}TimeoutLimit
         at oracle.j2ee.ws.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:102)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:314)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:97)
         at gov.mi.mdch.epay.runtime.EPayWebServiceSoap_Stub.makePayment(EPayWebServiceSoap_Stub.java:443)
         at gov.mi.mdch.epay.EPayWebServiceSoapClient.makePayment(EPayWebServiceSoapClient.java:82)
         at gov.mi.mdch.epay.EPayWebServiceSoapClient.main(EPayWebServiceSoapClient.java:63)
    Caused by: unexpected element name: expected={http://govconnect.com/epay}TotalAmount, actual={http://govconnect.com/epay}TimeoutLimit
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:75)
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:92)
         at oracle.j2ee.ws.common.encoding.DeserializationException.<init>(DeserializationException.java:50)
         at gov.mi.mdch.epay.runtime.EPayMakePaymentResult_LiteralSerializer.doDeserialize(EPayMakePaymentResult_LiteralSerializer.java:116)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:202)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:113)
         at gov.mi.mdch.epay.types.runtime.MakePaymentResponse_LiteralSerializer.doDeserialize(MakePaymentResponse_LiteralSerializer.java:54)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:202)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:113)
         at gov.mi.mdch.epay.runtime.EPayWebServiceSoap_Stub._deserialize_MakePayment(EPayWebServiceSoap_Stub.java:602)
         at gov.mi.mdch.epay.runtime.EPayWebServiceSoap_Stub._readFirstBodyElement(EPayWebServiceSoap_Stub.java:498)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:243)
         ... 4 more
    Any ideas on what could be the issue. ?
    PS: If I try the same WSDL file in Jdev 10.1.2 it works just fine (But the files generated by Jdev 10.1.2 are very different).
    Thanks

    This is a WSDL file from a Web Service provider which we will have to uses as it is.
    Suprisingle the same WSDL file works just fine in Jdev 10.1.2. But Jdev 10.1.2 does not create all the .java files specified by WSDL.
    Jdev 10.1.3 creates all the files but does not work.

  • Generating Webservices proxy in JDeveloper 10.1.3.4.0.4270

    Hi,
    I have been using Jdeveloper 10.1.3.0.4 for creating .net webservice proxy for over a year now. Recently i upgraded the Jdeveloper IDE to 10.1.3.4.0.4270 and since then i m not able to connect to the webservice. Here are the steps i m taking to create the proxy which i did in the older version as well.
    New --> Business Tier --> Web Service --> Web Service Proxy
    WSDL Document URL -- https://ServerName/Webservice.asmx?wsdl
    I am using all the default settings from Steps 2 thru 4
    Step 5 -- Adding a package name, clearing the root package for generated types, checking all the other options on the screen.
    Finally click Finish.
    All of this still works if i were make the proxy in the previous Jdeveloper version. However with this new version i am getting the following error.
    javax.xml.rpc.ServiceException: java.lang.ClassNotFoundException: bmtez.spidr.SPIDRInterfaceLocator
    java.io.FileNotFoundException: http://utmswst3vmnt.utmdacc.org/bmtweb/servlet/bmtez.server.BMTLogger
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at bmtez.client.BMTLog.log(BMTMainSearchPage.java:1958)
         at bmtez.client.SerologyTab.actionPerformed(SerologyTab.java:2749)
         at javax.swing.JComboBox.fireActionEvent(Unknown Source)
         at javax.swing.JComboBox.setSelectedItem(Unknown Source)
         at bmtez.client.BMTComboBox.setSelectedItem(BMTGuiControls.java:871)
         at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
         at bmtez.client.SerologyTab.populateDonorSerologyScreen(SerologyTab.java:1299)
         at bmtez.client.SerologyTab.populateScreenData(SerologyTab.java:949)
         at bmtez.client.SerologyTab.applyBusinessRulesToScreen(SerologyTab.java:440)
         at bmtez.client.BMTMainTab.stateChanged(BMTMainTab.java:1753)
         at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
         at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
         at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
         at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
         at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
         at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
         at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at bmtez.client.CustomEventQueue.dispatchEvent(BMTMainTab.java:2394)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I m not able to understand why its looking for a class SPIDRInterfaceLocator which was not built by the proxy?. Or does it have some other underlying message that i m not able to see. Please help.
    Thanks,
    -Seema Abdi.

    Can you compare the Web Browser and Proxy settings in your jdev installation.(Tools->Preferences->Web Browser and proxy)
    I case that does not solve your issue:
    Where is this service hosted? Is it on your localbox or you are accessing it over the net.
    Can you try migrating the project created in the earlier Jdev installation and see if you can run that successfully.
    -Vishal

  • Web Service authentication and PROXY Issue

    HI All,
    Recently I developed an application in Flex 2 which uses
    webservices to access remote data.One more point to be noted, that
    these webservices are secured( i.e they need username and password
    to access)
    I got a production server ( say
    myProduction server) and all my webservices are deployed on
    it. We have a SAP portal running on this server. I have created a
    PAR file of my applications .SWF file and hosted it on the portal.
    When I run my application from myProduction, it runs fine, no
    issues with it.
    Now, I have a proxy server ( say
    myProxy server), which is used to make my application
    available on the internet.
    This proxy redirects all the requests to myProduction server.
    When I try to run my application from myProxy Server, I am
    getting the following error:
    [RPC Fault faultString="Security error accessing url"
    faultCode=
    Channel.Security.Error"
    faultDetail="Unable to load WSDL". If currently online,
    please verify the URI and/or format of the WSDL (
    http://myProduction:50000/WS_Resource/Config1?wsdl&style=rpc_enc)"
    at mx.rpc.soap::WSDLParser/::dispatchFault()
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
    Do I need any configuration files to be maintained? How do I
    resolve this proxy issue??
    myProxy server is not able to load the WSDL from
    myProduction.I am not usinfgFlex Data Services. I am directly
    accessing the services.
    If anyone knows about this issue please help me. Any help
    would be greatly appreciated.
    This issues has been unresolved since 15 days now.
    Thanks in advance

    Hi,
    I am not sure if what I am suggesting may be the source for
    the problem, but it could be that you will need a
    crossdomain.xml file deployed on your production server, so
    that it can accept the requests from the Portal. Also, I guess you
    will be using a
    flex-config.xml or
    services-config.xml. Just make sure that all server paths
    have been properly mapped to the values entered in the destination
    attributes of the WebService tags.
    I hope that helps.

  • Error in Jdeveloper when making a WebService Proxy.

    Hi,
    I am trying to call a webservice from Forms. But when I try to create webproxy in Jdeveloper.As I enter the WSDL URL(http://localhost:7101/WebService-Annotation-context-root/MyCompanyPort?WSDL)in the webservice proxy wirzrd I recieve following error:
    oracle.jdeveloper.webservices.model.WebServiceException
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1656)
         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.<init>(JavaWebService.java:509)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:461)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy$ProxyJavaWebService.<init>(WebServiceProxy.java:2268)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1701)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.setDescription(WebServiceProxy.java:525)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.proxy.ProxyJaxWsSpecifyWSDLPanel.setDescription(ProxyJaxWsSpecifyWSDLPanel.java:238)
         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: java.lang.IllegalArgumentException
         at java.net.URI.create(URI.java:842)
         at oracle.jdeveloper.webservices.model.WebService.getURI(WebService.java:1009)
         at oracle.jdeveloper.webservices.model.WebService.getMappingFile(WebService.java:3960)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getMappingFile(JavaWebService.java:1810)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1708)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
         ... 12 more
    Caused by: java.net.URISyntaxException: Illegal character in path at index 0: MyCompanyWS
         at java.net.URI$Parser.fail(URI.java:2809)
         at java.net.URI$Parser.checkChars(URI.java:2982)
         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
         at java.net.URI$Parser.parse(URI.java:3024)
         at java.net.URI.<init>(URI.java:578)
         at java.net.URI.create(URI.java:840)
         ... 17 more
    The above error is what I get for my own webservice.
    If I use the webserivce wsdl url(http://www.esendex.com/secure/messenger/soap/SendService.asmx?wsdl) which exsits from internet. I get the following error:
    "No WSDL document found".
    Please help how to overcome this error.
    Thanks & Regards,
    Noman

    Hi Noman,
    Can you try running the URL in the browser and check if you are able to "view" the wsdl?
    For the second issue, i feel it could be because of the firewall / proxy issue. Try setting the proxy (if you are using one) in your jdeveloper-> Tools->Preferences->Web Browser and Proxy section.
    -Arun
    P.S : Post the JDeveloper version you are using in "all" the questions, which would help us to give precise answer. From the URL(http://localhost....), i guess you are using JDev 11.1.1.2.0, but you need to confirm.

  • JDev generated WebService Proxy not functioning

    Hello,
    my WS Proxy Project is not funtioning. I've generated the Project from a WSDL generated by an Oracle SAP Adapter connection to a SAP ECC6.0 system. The adapter works fine, the adapters' Trace File shows the correct data from the SAP System as a SOAP response to my request.
    But the deserialization always failes, because the structure in the SOAP response doesnt match the excpected one.
    unexpected element name: expected={urn:iwaysoftware:ibse:jul2003:GetList:response}DATE_RANGE, actual={urn:iwaysoftware:ibse:jul2003:GetList:response}DATE_RANGE
         at flight.proxy.types.iwaysoftware.ibse.jul2003.getlist.response.runtime.FlightGetListResponse_LiteralSerializer.doDeserialize(FlightGetListResponse_LiteralSerializer.java:98)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at flight.proxy.types.iwaysoftware.ibse.jul2003.getlist.response.runtime.GetListResponse_LiteralSerializer.doDeserialize(GetListResponse_LiteralSerializer.java:70)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at flight.proxy.runtime.FlightServiceSoap_Stub._deserialize_GetList(FlightServiceSoap_Stub.java:190)
         at flight.proxy.runtime.FlightServiceSoap_Stub._readFirstBodyElement(FlightServiceSoap_Stub.java:126)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at flight.proxy.runtime.FlightServiceSoap_Stub.getList(FlightServiceSoap_Stub.java:83)
         at flight.proxy.FlightServiceSoap1Client.getList(FlightServiceSoap1Client.java:61)
         at flight.proxy.FlightServiceSoap1Client.main(FlightServiceSoap1Client.java:47)
    The FlightService retrieved data via BAPI_FLIGHT_GETLIST, but with another BAPI it is exactly the same.
    So is there a bug in the code generated by the WebService Proxy Wizard ? The structure of the BAPI is sometimes quite complex. In the other project there where 128 classes generated by the wizard.
    Who can help me on this ?
    I've posted this right here, because the retrieved data is correct, so i believe this is not a adapter related issue.
    Thanks Christian

    Hi,
    I'll forward this, but if the "the structure in the SOAP response doesnt match the excpected one" then these seems to point to a transformation problem. If this is blocking you in a project, I suggest to involve customer support
    Frank

  • Change the default namespace in soap message generated by webservice proxy

    I have a requirement where the default namespace generated by the webservice proxy has to be changed. For example, below is a soap request message generated by the proxy:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://siebel.com/asi/"
    xmlns:ns1="http://www.siebel.com/xml/getAllSecurityValuesResponse/PS"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <env:Header>
    <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    env:mustUnderstand="1"
    xmlns:xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:UsernameToken
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>kaoliver</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">db2</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </env:Header>
    <env:Body>
    <ns0:SearchSecurityServicegetAllSecurityValues_1>
    <Login>kaoliver</Login>
    </ns0:SearchSecurityServicegetAllSecurityValues_1>
    </env:Body>
    </env:Envelope>
    In the above message, I want to change the oasis namespace to a different namespace. Where are the default namespaces defined in the proxy classes generated by Jdev so that I can change them?
    Thanks in advance,
    Warm Regards,
    Shashi Anand B

    >
    If I define a prefix P2L in the expression editor to correspond to "http://foo.com/namespace/business", I'm able to reference the ExecuteResponse element as "./P2L:ExecuteResponse", but then I get stuck.
    If I try use a Rename action to change the namespace for "./P2L:*", only the ExecuteResponse element is renamed to <sof:ExecutResponse xmlns:sof="http://foo.com/namespace/proxy">. Upstream in the calling application, there's an XML stream reader exception because (I assume) ExecuteResult is not found and parsed.
    >
    You pattern "./P2L:\*" matches just one element so it's ok that the payload's namespace wasn't touched. If you want to rename namespace for all elements try "//P2L:*". However, I'm not sure whether this is what you want. Try do describe what you do, what you want and what you get instead.
    >
    I also tried using a Replace action against "./P2L:ExecuteResponse/@xmlns" to replace its contents with "http://foo.com/namespace/proxy". I also tried "./P2L:ExecuteResponse/@P2L:xmlns". Neither worked.
    >
    I think it's not a good approach to replace content of xmlns as this attribute is not a common xml attribute.

  • How to pass username/password through WebService proxy client to E-BS.

    Hi
    We are using ADF Webservice proxy client to integrate E-Business suite with ADF. It asks for username/password to access details from E-BS. In the generated webservice XSD file, a method is available with 2 parameters.
    1) SOAP header( Contains Username, responsibility and 2 more fields)
    2) Class object(Nested Object)
    However i didn't find "*Password*" field anywhere in it. Then how can I pass "*Password*" along with username to invoke this method?
    When i checked SOAP, the password is defined like this
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXX</wsse:Password>a
    Thanks
    Raja

    hi Dario
    Thank you for your post. It is really helpful. Now I got stuck with a doubt, in this piece of code
    final Binding binding = ((BindingProvider) servicePort).getBinding();
    List<Handler> handlerList = binding.getHandlerChain();
    if (handlerList == null)
    handlerList = new ArrayList<Handler>();
    They didn't mention properly about "*servicePort*". What object is this?
    I checked in Oracle document, even in that I was not clear with that piece of code.
    public class HandlerWS{ 
    @Resource WebServiceContext ctx;
    @WebMethod()
    public String getProperty(String propertyName) {  
    return (String) ctx.getMessageContext().get(propertyName);
    public class Main {
    public static void main(String[] args) {
    HandlerWS test;
    try {
    test = new HandlerWS(new URL(args[0] + "?WSDL"), new
    QName("http://example.org", "HandlerWS") );
    } catch (MalformedURLException murl) { throw new RuntimeException(murl); }
    HandlerWSPortType port = test.*getHandlerWSPortTypePort*();
    What is this HandlerWSPortType object???. Can you give me little more explanation about it?
    Thanks

  • Consuming WebServices in ABAP WebDynPro via webservice proxy code

    Hi,
    My requirement is to consume a webservice using WSDL(basic authentication) in WebDynPro ABAP. then based on the SOAP response I need to show a pop up message whether the response valid or not.?
    I first tested the webservice by creating LPCONFIG Logical Port and generated WebService Proxy class.
    It got response correctly with basic authentication enabled each time I send a request.
    Secondly I generated webservice proxy code using service calls on creating webdynpro test application with some UI elements. Service call created Nodes,attributes and method correctly.
    it's giving me error when it tries to invoke webservice method through generated code.
    Question is that How do we code authentication to the webservice method via WebDynPro ABAP code.
    I appreciate anyone who worked on this area and taken basic authentication via coding. or worked successfully through coding.
    Thanks
    Praveen

    hi
    Refer this:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
    It might be usefull for u.
    Regards
    Vivekananthan.S

  • Change configuration of Webservice Proxy

    Hi!
    I've generated a webservice proxy to call to a webservice. My problem is that when it call the service, it send and xml like this:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://afirmaws/services/AlmacenarDocumento">
    <env:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1">....
    I want the mustUnderstand variable set to "0", but i dont know where i can specify it. Several hours lost with it.
    Someone knows how can i do it???
    Thanks!!!

    I can't change the mustUnderstand property value there. In this windows you specify the keystore, outbount, inbound properties, but i can't find how to put de mustUnderstand property="0"

  • Generated Webservice proxy: Maximimum size of byte array

    Hi,
    We have generated a webservice proxy with JDeveloper (version 10.1.3.4.0) from a WSDL supplied by a .Net webservice. One of the Webservice returns a byte array. We are facing a problem when the size of the returned byte array exceeds the limit of 5 MB. We have tried to increase the heap size of the OC4J but that did not solve the problem.
    Does anyone know if there is a maximum value limit which can be passed through a byte array? Is it configurable?
    A workaround would be flushing the byte array in chunks, but the webservice returns the byte array as a single returned value.
    Regards,
    Sjoerd

    Hi,
    The webservice was called by Oracle Forms. The problem was solved by Metalink Note 562561.1 - Webservice Fails To Run With java.lang.OutOfMemoryError.
    Regards,
    Sjoerd

  • Webservice proxy generation

    I am using JDeveloper 10.1.3 to generate a proxy for an existing webservice.
    After running the wizard "WebService proxy" (from Gallery), I find that not all of expected classes are being generated. (conclusion drawn after comparing classes generated against webservice provider samples)
    Is there any additional step to be performed to generate all classes?
    thanks,

    Select the Proxy node in the Application Navigator and View the Structure Pane, which will display all the related files for the proxy node..
    Regards,
    Sunil..

  • WebService Proxy and x509 cert. authentication

    Does anybody know if JDeveloper 10.1.3 generated WebService proxy by default is trying to use wallet other then keystore?
    We have generated a web service proxy and trying to make a call to a WebService over SSL to the site which require x509 certificate.
    Setting up keystore properties like :
    System.setProperty("javax.net.ssl.keyStore","c://temp//keystore/myKeystore.jks");
    System.setProperty("javax.net.ssl.keyStorePassword","password");
    does not have any affect. And debug shows the following:
    {Thread-10} [1:42:59.187] URLC: (https:twss.trac2es.transcom.mil:443) Connecting ...
    {Thread-10} [1:42:59.187] Conn: Creating Socket: twss.trac2es.transcom.mil:443
    {Thread-10} [1:42:59.328] Conn: using SSL version Oracle
    {Thread-10} [1:42:59.390] Using wallet:
    {Thread-10} [1:42:59.437] Conn:
    And then shows the errors:
    {Thread-10} [1:42:59.437] Unable to connect to URL: https://twss.trac2es.transcom.mil/trac2es-pmr/WebServicePmrSoapHttpPort due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
    Any help will be apreciated
    Alex

    Bruce,
    We are trying to setup X509 Client Cert to involve CAC(Smart Card) processing as a part of the initial part of our Jdev 10 or 11g app utilizing jsf/toplink. We are running OAS 10.1.2.0.2 presently but we can move to OAS 10.1.3 or OAS 10.1.4 without any problem.
    I am hearing a lot of references to Jdev and creating the WebService.
    Do you know if I am better off using what comes with OAS for the authentication or using Jdeveloper? If there is any good document you can refer me to we'll greatly appreciate it.
    Thank you in advance for your response.

  • IWork '09 startup hang...proxy issue?

    iWork hangs at startup anytime that I launch the applications when I'm behind a firewall. I can reproduce this problem very easily by successfully starting up the application on home home network and encountering problems anytime I launch the applications under a VPN connection or at the office.
    Is iWork trying to check in with iwork.com at launch? If so, is there any way to disable this behavior or transparently handle the proxy issue without my having to edit preferences every time I switch network settings?
    Thanks for reading this!
    -Jamie

    I was able to eliminate the iWork '09 startup hang by properly configuring my global HTTP proxy. I ran "netstat -an" from the console during the hang and found that iWork was attempting to connect to one of the iWork.com servers at startup.
    Here's what I saw:
    hostname:~ username$ netstat -an
    Active Internet connections (including servers)
    Proto Recv-Q Send-Q Local Address Foreign Address (state)
    tcp4 0 0 192.168.0.194.52595 17.250.248.128.80 SYN_SENT
    tcp4 0 0 192.168.0.194.52594 17.250.248.105.443 SYN_SENT

  • Public Part : Deployable Webservice Proxy DC

    Hi All,
    I have a deployable Webservice Proxy DC, which is used to create webservice proxy. I am using those webservice proxy in my Portal application. May I know what needs to be defined in public part of webservice proxy dc, so that I can use it as used dc in portal DC?
    Best Regards,
    Priyanka

    Hi Anand,
    Thanks for your response. I have already checked that object for null - it is not. The problem is I dont have this SECQANDAImpl class that implements the SECQANDA interface in my DC. This implementation class gets generated when I deploy the deployable proxy object. Though I should be able to cast to the interface, it is throwing this error. Any other ideas?
    Giri.

Maybe you are looking for

  • A problem about the policy of RMS which is added more than 500 principals

    Hello specialists ,     I've a question about RMS , when I added more than about 500 principals (users & groups ) into a policy in the RMS , it will report an error for any operation about the policy , and I find the error message as followed (for th

  • Can't install Windows 7 on my Macbook pro.

    Hi, I've been trying to install Windows 7 on my Macbook pro, with no luck. I have been able to create a Windows Partition via Bootcamp. And after the Windows 7 installation guide started to expand my Windows files, my Windows 7 CD suddenly stopped sp

  • How to configure .ocx file in a JSP page

    Hi i am doing a project which involves data retrival from a Swipe card. I am going to retrive the id from the card and this data has to be sent to a JSP page. After retriving the ID from the card, we access the database and retrieve all the informati

  • Can't move an object with arrow keys - CS3

    In Fash CS3, suddenly, in certain files, I can't move an object left using arrow keys - but I can move the same object right, or if I hold down Shift + left arrow, it works correctly Also - I can move the object down with arrow keys, but not up Worka

  • New Bie - Starting with JSP and Servlets

    Hello fellow members, It's my pleasure to be a part of such a wonderful forum. Today, I am here to learn JSP, Servlets, and related tech/frameworks. I'd be thankful to any member who can guide me in the right direction. I have good working knowledge