Error in GoogleSearch WebServices

Hi All,
    I am employing the "Google Search" functionality in WDP. I am following the BestPractices pdf. I am getting a compilation error in the search view for the following line of code: 
updateSearchIndex(1);
The error states:  The method updateSearchIndex(int) is undefined for the type SearchView.
I have followed all the steps mentioned in the pdf. I am not able to figure out why I am getting this error. Can anyone help Plz..
Regds,
Newbie

Hi PN,
    You must write the code code for the method
updateSearchIndex(1);
as it is not given by the system.
create a methos by name updateSearchIndex(int pgIndx) with pgIndx as the integer parameter in the methods tab of search view and write the folloeing code in it:
wdContext.currentButtonBarElement().setPageIndex(pgIndx);
wdContext.currentRequest_GoogleSearchPort_doGoogleSearchElement().setStart((pageIndex -1) * 10);
You need to implement the code for displaying the HTML Result strings along with this then only u'll be able to get proper output.
Regds,
Anagha.
DONOT FORGET TO REWARD POINTS FOR USEFUL ANSWERS.

Similar Messages

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

  • Error while generating webservices using Date

    I am facing the following problem while generating a web service which is having Date as one its members.
    I have serialized a class with the following DataStructure
    private String rowId1;
    private Date created;
    private String name;
    private String quoteNum;
    private String revNum;
    private String curcyCd;
    private String activeFlg;
    private Number discntAmt;
    private Number discntPercent;
    When i tried to expose this as webservice, If I use the class oracle.jbo.domain.Date for Date type, the webservice is not generated properly. It is not including the method which contains this call. ie) This method is not present in the WSDL file as well as in the proxy.
    When I used java.util.Date instead of oracle.jbo.domain.Date, I am able to expose the method and webservice got generated properly. But When i tried to generate the proxy for the WSDL in the consumer, I go the following error.
    oracle.jdeveloper.webservices.model.GenerationException: Proxy generation failed for the following reason:
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.doGeneration(ProxyGenerator.java:608)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.generateImpl(ProxyGenerator.java:365)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.mav$generateImpl(ProxyGenerator.java:77)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator$1ThrowingRunnable.run(ProxyGenerator.java:206)
         at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.RuntimeException: generator error: no encoder for type "{http://www.w3.org/2001/XMLSchema}dateTime" and Java type "java.lang.String"
         at oracle.j2ee.ws.common.processor.Processor.runActions(Processor.java:105)
         at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:99)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createProxy(WsdlToJavaTool.java:354)
         at oracle.j2ee.ws.tools.wsa.Util.createProxy(Util.java:838)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.doGeneration(ProxyGenerator.java:549)
         ... 6 more
    Caused by: generator error: no encoder for type "{http://www.w3.org/2001/XMLSchema}dateTime" and Java type "java.lang.String"
         at oracle.j2ee.ws.common.processor.generator.GeneratorBase.doGeneration(GeneratorBase.java:181)
         at oracle.j2ee.ws.common.processor.generator.GeneratorBase.perform(GeneratorBase.java:137)
         at oracle.j2ee.ws.common.processor.Processor.runActions(Processor.java:97)
         ... 10 more
    I am referring to "Entity and view objects based on web service " in the following URL
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#93
    Thanks and Regards,
    James

    Hi all,
    I have applied the consolidated JRI fixes - patch 17191279 .
    Then, when generating Jar, received keypass is tampered error.
    re-generated the key using $ adjkey -initialize.
    Now, its working fine.
    Regards,
    Krish.

  • Errors while invoking webservice

    I am getting below error while invoking webservice in jdev:
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
      <env:Fault>
       <faultcode>env:Server</faultcode>
       <faultstring>Failure in SDOSerializer.deserialize.</faultstring>
      </env:Fault>
    </env:Body>
    </env:Envelope>
    I can see only below log in jdev server log :
    <oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
    <oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
    could anybody help me to understand what gone wrong ?

    This thread might help you:
    Problems invoke Web Service

  • InvalidSecurity Error while accessing Webservice

    Hi,
    I am getting an "*InvalidSecurity*" error while accessing webservice.
    Below is the error, which I got while invoking the webservice :
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>ns0:InvalidSecurity</faultcode>
    <faultstring>InvalidSecurity : error in processing the WS-Security security header</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Thanks
    Abheek
    Edited by: 1005832 on May 14, 2013 6:16 AM

    The error was generated on the endpoint and indicates that the SOAP request message had incorrect WS-Security information in its headers. The SOAP response message you included doesn't contain specific information about what is wrong (we wouldn't want to reveal too much to hackers, of course!).
    Without seeing the SOAP request message and the WS-SecurityPolicy that the endpoint requires, it's impossible to tell what's wrong.
    Other important information:
    - what version of WLS are you running?
    - is the endpoint a WLS JAX-WS or a WLS JAX-RPC web service?
    - is WS-Security configured using native WLS WS-Security (e.g. @Policy) or using OWSM WS-Security (i.e. @SecurityPolicy)?
    - what specific policy is being used to enforce security at the endpoint (the advertised WSDL for the endpoint should contain this)

  • Error: C:\jdev10134\webservices\lib\jaxb-impl.jar The system cannot find..

    In jdeveloper 10.1.3.4, I created a new synchronous BPEL project, then connected to my db and selected a package and did the right-click, create a web service from it. Now that I compile the project it returns this error:
    Error: C:\jdev10134\webservices\lib\jaxb-impl.jar (The system cannot find the file specified)
    Do I need to add something to jdeveloper to allow it to compile web services?
    Thanks,
    Edited by: srollins on Aug 21, 2009 12:42 PM

    Creating a WS client in a BPEL project breaks BPEL compilatiopn, that's easy to reproduce.
    I dont' know how you can fix this without getting rid of the WS client, but if you want to keep the BPEL and are happy to remove the WS client, then proceed as follows:
    - delete the src directory
    - remove the "oracle.jdevimpl.config.JProjectLibraries" and "ownerMap" sections in the *.jpr.
    - restart JDev
    After this you should be able to compile the BPEL again.

  • Getting Error :Error when instantiating WebService runtime

    Hello All,
                  I am a new to Webservices and writing a test program .I am using the ECC 5.0 .I am calling a Webservice from R/3 .I am  trying to call this webservice  :[http://webservices.daehosting.com/services/isbnservice.wso?WSDL].
    I am getting the following exception
    {<?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
      <SYSTEMFAULT href="#o68" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_AI_SYSTEM_FAULT id="o68">
    - <CX_ROOT>
      <TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>
      <PREVIOUS href="#o55" />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>191</PROGID>
      <CONTID>558</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
      <ERRORTEXT>Error when instantiating WebService runtime (Error when initializing SOAP client application )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    - <cls:CX_XMS_SYSERR_PROXY id="o55">
    - <CX_ROOT>
      <TEXTID>3F829CAF9A45633CE10000000A155117</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>0</PROGID>
      <CONTID>0</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_XMS_SYSTEM_ERROR>
      <ID>ERROR_WEBSERVICE_RUNTIME_INIT</ID>
      <P1>Error when initializing SOAP client application</P1>
      <P2 />
      <P3 />
      <P4 />
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
      <RETRY>M</RETRY>
      </CX_XMS_SYSTEM_ERROR>
    - <CX_XMS_SYSERR_PROXY>
      <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
      </CX_XMS_SYSERR_PROXY>
      </cls:CX_XMS_SYSERR_PROXY>
      </asx:heap>
      </asx:abap>}
    This is what i have given in LPCONFIG Tcode
    LPCONFIG->General setting-> Call parameters->
    URL->http://webservices.daehosting.com/services/isbnservice.wso?WSDL
    Please help out what I am missing here
    Thanks
    Krishna

    I had the same error, while implementing a new client webservice.
    The Error ERROR_WEBSERVICE_RUNTIME_INIT was in my case solved by:
    1. regenerating the CL_SOAP_APPLICATION_CLIENT class.
    and
    2. deleting the LPCONFIG setting and creating a new one.
    Edwin.

  • Error: C:\jdevstudio10133\webservices\lib\jaxr_api.jar

    Hi all,
    I newly creating asynchronous web service using jdeveloper editor and then bpel process with pl/sql web service but my system given following error
    Error: C:\jdevstudio10133\webservices\lib\jaxr_api.jar (The system cannot find the file specified)
    any bodies know how solve this problem i need jaxr_api, jaxr_impl jar files how can download this files.

    Creating a WS client in a BPEL project breaks BPEL compilatiopn, that's easy to reproduce.
    I dont' know how you can fix this without getting rid of the WS client, but if you want to keep the BPEL and are happy to remove the WS client, then proceed as follows:
    - delete the src directory
    - remove the "oracle.jdevimpl.config.JProjectLibraries" and "ownerMap" sections in the *.jpr.
    - restart JDev
    After this you should be able to compile the BPEL again.

  • Error while calling webservice on ECC 5.0

    Hi
    I have a webservice exposed on a ECC5.0 - the webservice is available for runtime.
    But when I call it with a single input parameter - from a test SOAP test client- I get the following error as the SOAP response
    What could this be/mean ? Please help.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <soap-env:Fault>
    <faultcode>soap-env:Server</faultcode>
    <faultstring xml:lang="en">Error during XML => ABAP conversion (; error ID: ; ( ))</faultstring>
    </soap-env:Fault>
    </soap-env:Body>
    </soap-env:Envelope>

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • Error while transporting webservice datasources

    Hi all,
    I have created webservice datasources to fetch EP data to BW. and now i am transporting that Datasources from DEV to QA. I have colllected datasources alone in one req. (source system i have created in QA manually and i mapped that with DEV)
    But while transporting i am getting the folllowing error,
    3S3T   Start of the after-import method RS_RSDS_AFTER_IMPORT for object type(s) RSDS (Activation Mode)  
    Error  Screen output without connection to user .                                                                               
    Error when activating DataSource ZANS_MASTER BI7001                                                                               
    Please through some light is there any predefined settings i need to do in QA system?.
    Thanks in advance,
    V.Sen

    Dear All,
    Thanks for your kind reply.
    There are no R/3 Datasources involved. Our BI Cockpit landscape is based upon only BI system. No data transfer to take place between R/3 and BI.
    Secondly, you mean to say that I need to replicate my Source system in Production and then proceed with the transporting of the requests from Dev to Prod.
    But I never did the same in Quality while transporting from Dev. Is it that it might have been done in Quality beforehand by someone ?
    Also, when the Datasources have not been transported to Production (resulting in error) then how can i replicate these datasources in Production ???
    Let me know if I have not understood correctly.
    Many thanks again for your efforts.
    /Shalabh

  • Returning Errors from a webservice using XMLBeans

    I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?

    The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.

  • Need Urgent Solution for error in presence webservice

    Hi Folks, I am new to ocsg , i got stuck with a serious problem
    I am working with presence web service
    As from documentation , i understood that watcher should subscribe with attrbiutes which he wants to look up for presence user's information , so i tried to give subscribe information, in that tab, i gave sip uri as tel:1234
    and click on start button .Initially i got error that No plug in created
    Then i tried to create the plug in from pluginmanager for presence webservice , but it is not allowing to create saying that "you cannot create plug for this service ( presence web service)"
    then I started using the already existing
    presenceservice = Plugin_px21_presence_sip and existing
    ================
    presence instance = Plugin_px21_presence_sip#wlng_nt_presence_px21#4.1
    then again i got error while I click on start button , saying that No Route Exists
    then I added a route by taking Plugin_px21_presence_sip as input value and values given as tel:^.*
    and I also set setrouteconfig as below values
    ================
    Plugin_px21_presence_sip
    ================
    <?xml version="1.0" encoding="UTF-8"?>
    <route xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="route.xsd">
    <destAddress defaultResult="true">tel:^.*</destAddress>
    </route>
    =================
    it has accepted . then I again started the subscribe presence by clicking on start button .
    14 Jul 2009 11:29:45,421 [ WARN com.bea.wlcp.wlng.util.EJBHelper - Failed to process request
    com.bea.wlcp.wlng.api.plugin.NoRoutePluginException: Could not find a route for this message. address: tel:1234
    at com.bea.wlcp.wlng.interceptor.RemoveInvalidRoute.invoke(RemoveInvalidRoute.java:49)
    at com.bea.wlcp.wlng.interceptor.ContextImpl.invokeNext(ContextImpl.java:87)
    at com.bea.wlcp.wlng.interceptor.CreatePolicyData.invoke(CreatePolicyData.java:25)
    at com.bea.wlcp.wlng.interceptor.ContextImpl.invokeNext(ContextImpl.java:87)
    at com.bea.wlcp.wlng.interceptor.RemoveInactivePlugin.invoke(RemoveInactivePlugin.java:39)
    at com.bea.wlcp.wlng.interceptor.ContextImpl.invokeNext(ContextImpl.java:87)
    at com.bea.wlcp.wlng.interceptor.CreatePluginList.invoke(CreatePluginList.java:59)
    at com.bea.wlcp.wlng.interceptor.ContextImpl.invokeNext(ContextImpl.java:87)
    at com.bea.wlcp.wlng.interceptor.ValidateRequestUsingRequestFactory.invoke(ValidateRequestUsingRequestFactory.java:41)
    at com.bea.wlcp.wlng.interceptor.ContextImpl.invokeNext(ContextImpl.java:87)
    at com.bea.wlcp.wlng.interceptor.EnforceSpAppBudget.invoke(EnforceSpAppBudget.java:70)
    at com.bea.wlcp.wlng.interceptor.ContextImpl.invokeNext(ContextImpl.java:87)
    at com.bea.wlcp.wlng.interceptor.EnforceApplicationState.invoke(EnforceApplicationState.java:71)
    at com.bea.wlcp.wlng.plugin.PluginManagerImpl.invokeInterceptors(PluginManagerImpl.java:84)
    at com.bea.wlcp.wlng.plugin.PluginManagerImpl.processRequest(PluginManagerImpl.java:58)
    at com.bea.wlcp.wlng.util.EJBHelper.processRequest(EJBHelper.java:42)
    at com.bea.wlcp.wlng.px21.ejb.PresenceConsumerEjbImpl.subscribePresence(PresenceConsumerEjbImpl.java:79)
    at com.bea.wlcp.wlng.px21.ejb.PresenceConsumer_y33p2d_EOImpl.subscribePresence(PresenceConsumer_y33p2d_EOImpl.java:138)
    at com.bea.wlcp.wlng.px21.ejb.PresenceConsumer_y33p2d_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at com.bea.wlcp.wlng.px21.ejb.PresenceConsumer_y33p2d_EOImpl_1030_WLStub.subscribePresence(Unknown Source)
    at com.bea.wlcp.wlng.px21.jws.PresenceConsumerWsImpl.subscribePresence(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassComponent.java:112)
    at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(ComponentHandler.java:84)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3501)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2089)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    please guide me if my understanding is correct and my steps are correct or not, if all the above steps are fine, please tell why i am getting that error message
    Really stuck with this problem from 1 week , please help me to move further.
    Regards
    Rajasekhar

    Hi, if this is urgent I would suggest logging the issue on My Oracle Support in the Communications Service Delivery Community where Oracle and customer/partner/developer experts will advise whether this is a configuration issue or a bug that requires an SR to deliver a fix.
    Regards
    Graham

  • Error while Importing Webservice Model in NWDS 7.0.13

    Hi Experts,
    I am trying to Create Webservice Model (deprecated) in my Webdynpro Application using NWDS 7.0.13, using a WSDL which is hosted on PI 7.1.
    However while resolving this WSDL, I am getting error "Unacceptable Choise Element Found. Choise can contain only model group with min/maxOccurs = 1".
    Then I downloaded the WSDL, and changed the MaxOccurs = "1". After Importing this WSDL in my Webdynpro project, another exception got raised "Trying to Resolve qualified base " , here AcordMsgSvc is targetnamespace in  XSD which is ported in PI for this Service Interface
    Please help me resolving these 2 errors -
    1) min/maxOccurs > 1 not allowed in NWDS 7.0.13 webservice model?? Do I need to install any plugins?
    2)
    The Details Error Log --
    Error  Oct 28, 2010 15:39:03.283 com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Invalid proxy generator configuration. See nested exception.
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Invalid proxy generator configuration. See nested exception.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.getDefaultSchemaMapping(ProxyGenerator.java:142)
    at com.sap.ide.ws.proxygenerator.ProxyHelperFunctions.createNamespacePackageMappingFile(ProxyHelperFunctions.java:103)
    at com.sap.ide.ws.proxygenerator.ProxyHelperFunctions.createNamespacePackageMappingFile(ProxyHelperFunctions.java:86)
    at com.sap.ide.ws.proxygenerator.ProxyHelperFunctions.createNamespacePackageMappingFile(ProxyHelperFunctions.java:82)
    at com.sap.ide.wsproxy.wizards.prx.pages.NamespacePackageMappingPage$1.run(NamespacePackageMappingPage.java:114)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
    at com.sap.ide.wsproxy.wizards.prx.pages.NamespacePackageMappingPage.initTable(NamespacePackageMappingPage.java:170)
    at com.sap.ide.wsproxy.wizards.prx.pages.NamespacePackageMappingPage.setVisible(NamespacePackageMappingPage.java:295)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:959)
    at org.eclipse.jface.wizard.WizardDialog.access$1(WizardDialog.java:940)
    at org.eclipse.jface.wizard.WizardDialog$3.run(WizardDialog.java:929)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:927)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:684)
    at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:218)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
    at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
    at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
    at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
    at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
    at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
    at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
    at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
    at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
    at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
    at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
    at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
    at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.engine.lib.xml.util.NestedException -> javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: ERROR : Trying to resolve qualified base : DocumentId, but the uri resolver is not able to resolve the relevant namespace.
    at com.sap.engine.services.webservices.jaxrpc.schema2java.SchemaToJavaGenerator.prepareAll(SchemaToJavaGenerator.java:462)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.getDefaultSchemaMapping(ProxyGenerator.java:136)
    ... 63 more
    Caused by: javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: ERROR : Trying to resolve qualified base : DocumentId, but the uri resolver is not able to resolve the relevant namespace.
    at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:232)
    at com.sap.engine.services.webservices.jaxrpc.schema2java.SchemaToJavaGenerator.prepareAll(SchemaToJavaGenerator.java:459)
    ... 64 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: ERROR : Trying to resolve qualified base : DocumentId, but the uri resolver is not able to resolve the relevant namespace.
    at com.sap.engine.lib.schema.components.impl.LoaderImpl.resolveQualifiedBase(LoaderImpl.java:253)
    at com.sap.engine.lib.schema.util.Tools.getTopLevelBase(Tools.java:466)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.getRefferedBase(SchemaStructuresFactory.java:154)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.createBase(SchemaStructuresFactory.java:49)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.createElementDeclaration(SchemaStructuresFactory.java:115)
    at com.sap.engine.lib.schema.components.impl.structures.ParticleImpl.load(ParticleImpl.java:89)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.loadBase(SchemaStructuresFactory.java:162)
    at com.sap.engine.lib.schema.components.impl.structures.ModelGroupImpl.load(ModelGroupImpl.java:100)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.loadBase(SchemaStructuresFactory.java:162)
    at com.sap.engine.lib.schema.components.impl.structures.ParticleImpl.load(ParticleImpl.java:97)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.loadBase(SchemaStructuresFactory.java:162)
    at com.sap.engine.lib.schema.components.impl.structures.ModelGroupImpl.load(ModelGroupImpl.java:100)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.loadBase(SchemaStructuresFactory.java:162)
    at com.sap.engine.lib.schema.components.impl.structures.ParticleImpl.load(ParticleImpl.java:97)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.loadBase(SchemaStructuresFactory.java:162)
    at com.sap.engine.lib.schema.components.impl.structures.ComplexTypeDefinitionImpl.load(ComplexTypeDefinitionImpl.java:178)
    at com.sap.engine.lib.schema.components.impl.SchemaStructuresFactory.loadBase(SchemaStructuresFactory.java:162)
    at com.sap.engine.lib.schema.components.impl.structures.SchemaImpl.loadComponents(SchemaImpl.java:288)
    at com.sap.engine.lib.schema.components.impl.structures.SchemaImpl.load(SchemaImpl.java:267)
    at com.sap.engine.lib.schema.components.impl.LoaderImpl.load(LoaderImpl.java:149)
    at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:227)
    ... 65 more
    Thanks,
    Ninad

    Hi,
    Please have a look at this threads
    Can not create Adaptive Web Service Model
    Problems embedding adaptive webservice model
    Regards
    Saravanan K

  • Access Denied Error While invoking WebService Method

    Hi,
    When i am trying to invoke web service method from client machine, it throws an Error 401 - Access Denied (Detail Error Shown below)....
    Please let me know to set WindowsAuthentication UserName and Password in WebService calling through Java. Here Iam using Stub class to connect WebService through Java...
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (401)Access Denied
    faultActor:
    faultNode:
    faultDetail:
         {}:return code: 401
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <html dir=ltr>
    <head>
    <style>
    a:link {font:8pt/11pt verdana; color:FF0000}
    a:visited {font:8pt/11pt verdana; color:#4e4e4e}
    </style>
    <META NAME="ROBOTS" CONTENT="NOINDEX">
    <title>You are not authorized to view this page</title>
    <META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
    </head>
    <script>
    function Homepage(){
    <!--
    // in real bits, urls get returned to our script like this:
    // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
         //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
         DocURL=document.URL;
         //this is where the http or https will be, as found by searching for :// but skipping the res://
         protocolIndex=DocURL.indexOf("://",4);
         //this finds the ending slash for the domain server
         serverIndex=DocURL.indexOf("/",protocolIndex + 3);
         //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
         //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
         //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
         BeginURL=DocURL.indexOf("#",1) + 1;
         urlresult=DocURL.substring(BeginURL,serverIndex);
         //for display, we need to skip after http://, and go to the next slash
         displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
         InsertElementAnchor(urlresult, displayresult);
    function HtmlEncode(text)
    return text.replace(/&/g, '&amp').replace(/'/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
    function TagAttrib(name, value)
    return ' '+name+'="'+HtmlEncode(value)+'"';
    function PrintTag(tagName, needCloseTag, attrib, inner){
    document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) );
    if (needCloseTag) document.write( '</' + tagName +'>' );
    function URI(href)
    IEVer = window.navigator.appVersion;
    IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );
    return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ?
    encodeURI(href) :
    escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';');
    function InsertElementAnchor(href, text)
    PrintTag('A', true, TagAttrib('HREF', URI(href)), text);
    //-->
    </script>
    <body bgcolor="FFFFFF">
    <table width="410" cellpadding="3" cellspacing="5">
    <tr>
    <td align="left" valign="middle" width="360">
         <h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->You are not authorized to view this page</h1>
    </td>
    </tr>
    <tr>
    <td width="400" colspan="2">
         <font style="COLOR:000000; FONT: 8pt/11pt verdana">You do not have permission to view this directory or page using the credentials you supplied.</font></td>
    </tr>
    <tr>
    <td width="400" colspan="2">
         <font style="COLOR:000000; FONT: 8pt/11pt verdana">
         <hr color="#C0C0C0" noshade>
    <p>Please try the following:</p>
    <ul>
    <li>Click the Refresh button to try again with different credentials.</li>
    <li>If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the
         <script>
         <!--
         if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))
              Homepage();
         //-->
         </script>
         home page.</li>
    </ul>
    <h2 style="font:8pt/11pt verdana; color:000000">HTTP 401.2 - Unauthorized: Logon failed due to server configuration<br>
    Internet Information Services</h2>
         <hr color="#C0C0C0" noshade>
         <p>Technical Information (for support personnel)</p>
         <ul>
         <li>Background:<br>
         This is usually caused by a server-side script not sending the proper WWW-Authenticate header field. Using Active Server Pages scripting this is done by using the <strong>AddHeader</strong> method of the <strong>Response</strong> object to request that the client use a certain authentication method to access the resource.
    <p>
    <li>More information:<br>
    Microsoft Support
    </li>
    </p>
    </ul>
         </font></td>
    </tr>
    </table>
    </body>
    </html>
         {http://xml.apache.org/axis/}HttpErrorCode:401
    (401)Access Denied
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         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 engine.citynet_dta.IDTAEngineStub.sendMessage(IDTAEngineStub.java:219)
         at test.Test.main(Test.java:37)

    I hope the sun forum can help for me. Lets see

  • Error in Creating Webservice in JDeveloper 10.1.3 EA

    hi,
    I'm trying to implement a java webservice using JDev 10.1.3 EA. I just create one simple class with one method returning a string. here is the class code:
    public class ServiceTest {
    public ServiceTest() {
    public String getMessage() {
    return "hello wooorld!";
    after that, i do right-click on it and select "Create J2EE Webservice", and I choose J2EE 1.4 (JAX-RPC), and let JDev do its job creating several classes. I'm trying to run its WSDL file and nothing happens except string message "Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview initialized" appears.
    After that, i'm creating web service proxy by right-click on WSDL file and select "Generate Webservice Proxy" and let JDev creates several class. But when I invoke webservice by calling method
    myPort.getMessage();
    in the MyWebService1SoapHttpPortClient.java and run it, the following error occurs:
    java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at mypackage.proxy.runtime.MyWebService1SoapHttp_Stub.getMessage(MyWebService1SoapHttp_Stub.java:92)
    Is there any mistake in my code? I've also created Webservice Proxy for GoogleAPI Webservice using JDev 10.1.3 EA and it runs well. thanks a lot for any suggestion.
    regrads,
    fox

    yes, i found an URL and I try to access this via browser, and the following message appears:
    Error instantiating web-application
    Error compiling :C:\My Documents\Java\Webservice\Service3\public_html: Syntax error in source or compilation failed in: E:\master\Oracle JDeveloper 10.1.3 Early Access\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Webservice-Service3-webapp\galih\service\runtime\MyWebService1SoapHttp_Tie.java E:\master\Oracle JDeveloper 10.1.3 Early Access\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Webservice-Service3-webapp\galih\service\runtime\GalihServiceService_SerializerRegistry.java:36: error #300: MyWebService1_getMessage_ResponseStruct__LiteralSerializer not found in class galih.service.runtime.GalihServiceService_SerializerRegistry
    CombinedSerializer serializer = new galih.service.runtime.MyWebService1_getMessage_ResponseStruct__LiteralSerializer(type, DONT_ENCODE_TYPE);
    ^
    1 error

Maybe you are looking for