Webservice 401 problem

Hello all
I tried to consume a web service using webdynpro model. When I run the web service I get the following error:
java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException : <b>Invalid Response Code: (401) Unauthorized</b>. The requested URL was:"http://<xxx>/<yyy>/xxxService.svc"
My colleague used this web service successfully by .NET and they told me that I should explicitly set UseDefaultCredentials to true.
They are using the following codes for using the webservise:
string url = " http://<xxx>/<yyy>/xxxService.svc ";
xxxService xxxWcfService = new xxxService (url);                                                        
<b>xxxWcfService.UseDefaultCredentials = true;</b>
How and where should I set UseDefaultCredentials to true in my webdynpro project?
I am using the following code for instancing and binding the webservise in wdDoInit() function of component controller:
Request_xxx req = new Request_xxx
wdContext.nodeRequest_xxx().bind(req);
and following codes for execute the web service:
wdContext.currentRequestElement ().modelObject().execute();
Thanks in advance

Hi Yoel,
I think that 'UseDefaultCredentials' in .NET passes to current user data to the Web Service.
So, your credentials are sent to the server.
Assuming your colleague is running the Web Service from <b>his</b> computer then <b>his</b> Credentials are sent and authenticated.
Try to run the .NET appilcation from your computer (under your account).
Also, ask your colleague for username & password and pass them to the WebService like this:
xxxWcfService._setUser(user)
xxxWcfService._setPassword(password)
Omri

Similar Messages

  • VC call webservice Authentication Problem

    I am trying to follow the tutotia l(Tutorial 1: Modeling a Simple Application ) of VC in CE72 at http://help.sap.com/saphelp_nwce72/helpdata/en/44/d958673ef05f4de10000000a11466f/frameset.htm. When run the model, error 401 occurs when call the webservice. I tested webservice successfully by right click the data service. however, it need enter UID/Pwd(In NWA-> SOA Manager, Single service admin, it doesn't allow no authention). I think the problem is bwteen user mapping beween VC(EP) and webservice. Any one know how to define such a user mapping in EP?
    I created a system object in EP, but cannot find it in user management. Thanks!

    Hi Shahab,
    Can you reproduce the issue if you create 2 applications. One that exposes a secured web service and the other one the one, consumes the web service? This would help to isolate the issue and move forward in case is a bug.
    Thanks,
    Juan Camilo

  • Webservice authentication problem

    Web Service Authentication problem
    Posted: Jun 17, 2005 3:32 PM        Reply      E-mail this post 
    Hi
    I have created a portal service and exposed this service as a webservice. I am consuming this webservice in webdynpro. Portal service contains 2 simple methods putdata() and getdatat().
    When i access the webservice i am getting the following error.
    "javax.xml.rpc.soap.SOAPFaultException: The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.GlobalData or the service was not found"
    My Enterprise portal server is configured for SSO to back end R/3 system. I have checked for portal service availability and it is fine.
    My Webdynpro and Portal are running on different machines. EP is running on AIX with SP11.
    Any help please.
    Regards
    NagaKishore V

    Hi Shahab,
    Can you reproduce the issue if you create 2 applications. One that exposes a secured web service and the other one the one, consumes the web service? This would help to isolate the issue and move forward in case is a bug.
    Thanks,
    Juan Camilo

  • Webservice proxy problem

    Yesterday i developed a sample webservice application using weblogic paltform
    7.0 release..
    Actually i am trying to connect another weblogic server running in different machine
    through my webservice application..while connecting(sending message) i am getting
    following proxy exceptions..
    first i tried with proxy server(i got proxy exception) then i tried by dial up
    connection(this time ip address is not recognized problem)..Anyway here i enclosed
    my exception..
    weblogic.jws.control.ControlException: ControlException on control investigateControl[This
    proxy is not part of an existing conversation.] at weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:333)
    at $Proxy115.onCreditReportDone($Proxy115.ctrl) at java.lang.reflect.Method.invoke(Native
    Method) at weblogic.knex.dispatcher.DispMethod.invoke(DispMethod.java:189) at
    weblogic.knex.dispatcher.Invocable.invoke(Invocable.java:490) at weblogic.knex.bean.WebBean.invokeBase(WebBean.java:190)
    at weblogic.knex.bean.WebServiceBean.invoke(WebServiceBean.java:68) at weblogic.knex.bean.WebServiceBean_sdf2pw_EOImpl.invoke(WebServiceBean_sdf2pw_EOImpl.java:46)
    at weblogic.knex.bean.WebDispatcherBean.invoke(WebDispatcherBean.java:103) at
    weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:117)
    at weblogic.knex.bean.RemoteDispatcherBean_9hm9uw_EOImpl.invoke(RemoteDispatcherBean_9hm9uw_EOImpl.java:100)
    at weblogic.knex.bean.RemoteDispatcherBean_9hm9uw_E! OImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at weblogic.knex.bean.RemoteDispatcherBean_9hm9uw_EOImpl_WLStub.invoke(Unknown
    Source) at weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:111)
    at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:72) at weblogic.knex.dispatcher.HttpServer.doPost(HttpServer.java:256)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.se! rvlet.internal.WebAppServletContext$ServletInvocationAction.r!
    un(WebAp pServletContext.java:5360) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)

    Please post this to the Workshop newsgroup.
    Rangarajan wrote:
    i am also getting same problem..if anyone knew plz help me out..
    weblogic.jws.control.ControlException: ControlException on control investigateControl[This
    proxy is not part of an existing conversation.] at weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:333)
    at $Proxy115.onCreditReportDone($Proxy115.ctrl) at java.lang.reflect.Method.invoke(Native
    Method) at weblogic.knex.dispatcher.DispMethod.invoke(DispMethod.java:189) at
    weblogic.knex.dispatcher.Invocable.invoke(Invocable.java:490) at weblogic.knex.bean.WebBean.invokeBase(WebBean.java:190)
    at weblogic.knex.bean.WebServiceBean.invoke(WebServiceBean.java:68) at weblogic.knex.bean.WebServiceBean_sdf2pw_EOImpl.invoke(WebServiceBean_sdf2pw_EOImpl.java:46)
    at weblogic.knex.bean.WebDispatcherBean.invoke(WebDispatcherBean.java:103) at
    weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:117)
    at weblogic.knex.bean.RemoteDispatcherBean_9hm9uw_EOImpl.invoke(RemoteDispatcherBean_9hm9uw_EOImpl.java:100)
    at weblogic.knex.bean.RemoteDispatcherBean_9hm9uw_E! OImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at weblogic.knex.bean.RemoteDispatcherBean_9hm9uw_EOImpl_WLStub.invoke(Unknown
    Source) at weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:111)
    at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:72) at weblogic.knex.dispatcher.HttpServer.doPost(HttpServer.java:256)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.se! rvlet.internal.WebAppServletContext$ServletInvocationAction.r!
    un(WebAp pServletContext.java:5360) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Webservice response problems

    hi,
    Iam trying to get my query webservice to function, but iam
    having severe problems. No information can be found to solve my
    problem, so Iam hoping some here can assist me in solving my
    problem.
    Iam getting errors (
    RPC Fault faultString="Unexpected parameter 'queryResponse'
    found in input arguments." faultCode="Client.Input"
    faultDetail="null"]
    at
    mx.rpc.soap::Operation/mx.rpc.soap:Operation::createFaultEvent()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
    at mx.rpc.soap::Operation/send()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.rpc.soap.mxml::Operation/send()
    at AlfrescoQuery/___Button1_click()
    I have tried everything I can think of, but to no avail...
    below is my flex code Iam using:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    public function queryResultHandler(event:ResultEvent):void {
    ]]>
    </mx:Script>
    <mx:WebService id="alfServ"
    wsdl="
    http://myalfresco/alfresco/wsdl/repository-service.wsdl"
    endpointURI="http:/myalfresco8/alfresco/api/RepositoryService">
    <mx:operation name="query"
    result="queryResultHandler(event)">
    <mx:request>
    <store>
    <ns1:scheme xmlns:ns1="
    http://www.alfresco.org/ws/model/content/1.0">workspace</ns1:scheme>
    <ns2:address xmlns:ns2="
    http://www.alfresco.org/ws/model/content/1.0">SpacesStore</ns2:address>
    </store>
    <query>
    <ns3:language xmlns:ns3="
    http://www.alfresco.org/ws/model/content/1.0">lucene</ns3:language>
    <ns4:statement xmlns:ns4="
    http://www.alfresco.org/ws/model/content/1.0">TEXT:'alfresco
    development team'</ns4:statement>
    </query>
    <includeMetaData>false</includeMetaData>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    <mx:Button x="88" y="45" label="Button"
    click="alfServ.query.send()"/>
    </mx:Application>
    But this does not work... HELP ME PLEASE....
    below included soap calls for the request and the response
    that is recieved....
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <query xmlns="
    http://www.alfresco.org/ws/service/repository/1.0">
    <store>
    <ns1:scheme xmlns:ns1="
    http://www.alfresco.org/ws/model/content/1.0">workspace</ns1:scheme>
    <ns2:address xmlns:ns2="
    http://www.alfresco.org/ws/model/content/1.0">SpacesStore</ns2:address>
    </store>
    <query>
    <ns3:language xmlns:ns3="
    http://www.alfresco.org/ws/model/content/1.0">lucene</ns3:language>
    <ns4:statement xmlns:ns4="
    http://www.alfresco.org/ws/model/content/1.0">TEXT:'alfresco
    development team'</ns4:statement>
    </query>
    <includeMetaData>false</includeMetaData>
    </query>
    </soapenv:Body>
    </soapenv:Envelope>
    RESPONSE
    <soapenv:Envelope
    xmlns:soapenv="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <queryResponse
    xmlns="
    http://www.alfresco.org/ws/service/repository/1.0">
    <queryReturn>
    <querySession>
    52dbfef8-306d-11dc-9782-6160ed7fcc06
    </querySession>
    <resultSet>
    <ns1:rows
    xmlns:ns1="
    http://www.alfresco.org/ws/model/content/1.0">
    <ns1:rowIndex>0</ns1:rowIndex>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/system/1.0}store-protocol
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>workspace</ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}modifier
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>admin</ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}name
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>SampleContent.txt</ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/system/1.0}node-dbid
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>2121</ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}content
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>
    contentUrl=store://2007/7/12/13/42/05a414e3-306d-11dc-9782-6160ed7fcc06.bin|mimetype=text /plain|size=68|encoding=UTF-8|locale=en_US_
    </ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}modified
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>
    2007-07-12T13:42:51.895+02:00
    </ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}created
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>
    2007-07-12T13:42:51.286+02:00
    </ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/system/1.0}store-identifier
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>SpacesStore</ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/system/1.0}node-uuid
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>
    054727cd-306d-11dc-9782-6160ed7fcc06
    </ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}creator
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>admin</ns1:value>
    </ns1:columns>
    <ns1:columns>
    <ns1:name>
    http://www.alfresco.org/model/content/1.0}path
    </ns1:name>
    <ns1:isMultiValue>false</ns1:isMultiValue>
    <ns1:value>
    http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/ content/1.0}sample_folder/{http://www.alfresco.org/model/content/1.0}sample_content
    </ns1:value>
    </ns1:columns>
    <ns1:score>0.38761</ns1:score>
    <ns1:node>
    <ns1:id>
    054727cd-306d-11dc-9782-6160ed7fcc06
    </ns1:id>
    <ns1:type>
    http://www.alfresco.org/model/content/1.0}content
    </ns1:type>
    </ns1:node>
    </ns1:rows>
    <ns2:totalRowCount
    xmlns:ns2="
    http://www.alfresco.org/ws/model/content/1.0">
    1
    </ns2:totalRowCount>
    </resultSet>
    </queryReturn>
    </queryResponse>
    </soapenv:Body>
    </soapenv:Envelope>

    Anybody any idears ???????????

  • Webservice Import Problem

    Hi,
    I have used the NWDS Wizard to generate a webservice proxy. The Service is "SAP Server" and the runtime is "SAP NetWeaver". I have a service project with the EJBs and a surrounding EAR project to deploy the webservice.
    I have generated a webservice-interface. One
    @WebMethod(operationName="getById")
    and one
    @WebMethod(operationName="getDummy")
    getDummy only returns new String();
    this works fine. But getById calls a ABAP Webservice via the generated proxy. I inject the reference:
    @WebServiceRef(name="ZALINKRFC_Service")
    ZALINKRFC_Service service;
    get the port
    ZALINKRFCWD port = service.getPort(ZALINKRFCWD.class);
    and call port.rfcfunction(...)
    I then get the error
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 20 counts of IllegalAnnotationExceptions
    com.sap.document.sap.rfc.functions.ALINKRFCTABLEGET is an interface, and JAXB can't handle interfaces. this problem is
    related to the following location: at com.sap.document.sap.rfc.functions.ALINKRFCTABLEGET
    com.sap.document.sap.rfc.functions.ALINKRFCTABLEGET does not have a no-arg default constructor. this problem is
    related to the following location: at com.sap.document.sap.rfc.functions.ALINKRFCTABLEGET
    com.sap.document.sap.rfc.functions.TABLEOFTBL1024 is an interface, and JAXB can't handle interfaces
    I have absolutely no idea what the problem is. All the mentioned classes were automatically generated by NWDS.
    any ideas?
    thanks in advance

    Please try with IP
    Regards, Anilkumar

  • WebService naming problem

    Hi,
    I have a problem regarding the naming of WebServices in the WAS. I need to know if i´m right in this:
    1. When creating WebServices in the ABAP stack using the ABAP Workbench i can only develop WebServices who starts whith an "Z" or an "Y". I.ex. Y_GetCustomerName.
    2. When developing WebServices on the JAVA Stack i´m free to call my WebServices anything i like i.ex GetCustomerName.
    Could anyone confirm this two statements? I need to know because even though it seems to bee a small problem it´s in our organisation a big problem if we cannot name our WebServices as we like!
    Regards
    Jakob

    Yes i can reserve an Namespace, but it´s not enough... It´s not the "Z" who are the problem but rather that the Service should allways begin with the same string.
    I need to develop services like:
    GetCustomerName
    CreateFinanceDocument
    BlockCustomerAccount
    I´m pretty sure that i cannot do it in the ABAP stack - but if i can do it the JAVA stack everything is fine for me - i just need a confirmation on that :-).
    Jakob

  • Webservice Migration Problems (WLS 9.2 - WLS 10.3.2)

    Hi,
    we're upgrading our weblogic server from version 9.2 to 10.3.2. Everything runs just fine in my testing environment except for the webservices we have.
    We have 6 webservices (JAX-RPC) which use a generic set of xml schema types to which each webservice offers specialized types that extend the supertype. Here comes the problem: The ant tasks wsdlc and clientgen from wls 9.2 generates java classes that do extend from the superclass. Unfortunatley the same call from the wls 10.3.2 results in a loss of class hierarchy.
    Example:
    <xs:complexType name="personinfo">
    <xs:sequence>
    <xs:element name="firstname" type="xs:string"/>
    <xs:element name="lastname" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="fullpersoninfo">
    <xs:complexContent>
    <xs:extension base="personinfo">
    <xs:sequence>
    <xs:element name="address" type="xs:string"/>
    <xs:element name="city" type="xs:string"/>
    <xs:element name="country" type="xs:string"/>
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    On WLS 9.2 this results in the following:
    class Personinfo {
    class Fullpersoninfo extends Personinfo {
    On WLS 10.3.2. the result differs:
    class Personinfo implements Serializable {
    class Fullpersoninfo implements Serializable {
    Is there any way to tell the wls 10.3.2 to generate a jax-rpc webservice that obeys the extension directive?
    I look forward to your replies =)
    Regards,
    Johannes Bialek

    Hi Jay,
    thanks for the reply. Unfortunately using the other ant task doesn't seem to help. This is a WLS8.2 Version of Clientgen (which used the attribute "clientjar" rather than "destDir"/"destFile" and expected "packagename" as a required parameter). I tried id and it seems to have a couple of problems with schema files imported in included schema files. I worked around this by importing in the schema files from the wsdl itself, but now I get a "weblogic.xml.schema.binding.BindingException: ERROR: during code compilation".
    Full stack trace:
    weblogic.xml.schema.binding.BindingException: ERROR: during code compilation
    at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:581)
    at weblogic.xml.schema.binding.internal.codegen.Compiler.compile_descriptors(Compiler.java:380)
    at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:290)
    at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.addTypesInSchemas(XSDTypeMappingBuilder.java:140)
    at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.processSchemaTypes(TypeMappingBuilderBase.java:310)
    at weblogic.webservice.tools.build.internal.Schema2JavaImpl.doTypeMapping(Schema2JavaImpl.java:317)
    at weblogic.webservice.tools.build.internal.Schema2JavaImpl.run(Schema2JavaImpl.java:204)
    at weblogic.webservice.tools.build.internal.WSDL2JavaImpl.run(WSDL2JavaImpl.java:258)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.getTypeMappingFromWSDL(ClientGenImpl.java:747)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:419)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:359)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:375)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:229)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: java.io.IOException: Compiler failed executable.exec: null
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:493)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:332)
    at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:575)
    ... 41 more
    Shouldn't we be able to use a 9.2 weblogic.jar for creating webservices that run on a 10.3.2?
    Regards,
    Johannes

  • Webservice path problem

    HI,
    When I access data from server using webservice I have to
    specify the path of wsdl. There is a problem with that
    For example If I give the path as
    http://www.abc.com/service.asmx?WSDL,
    I cant access the html page containing that swf movie with out
    using "www" infront of the url. If I access the html page just like
    http://abc.com/test.html its
    throwing an error.
    The vice versa is also making problem..
    If the service is in the same domain I can give relative path
    to avoid this problem, but how can we solve this problem if the
    service is in a different domain?
    Please help
    Anz

    http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/

  • Webservice binding problem

    Hi,
    I created a webservice. In SOAMANAGER configured service. In overview tab, I selected my configured service and clicked on "Opnn WSDL document for selected binding". But its not calling any other screen. And I tried to test the webservice by clicking on "Open Web Service navigator for selected binding". Its not connecting WSNavigator. What is the problem here? Suggest me how to solve it.
    Thanks & Regards,
    Dhanunjaya Reddy

    Hi,
    Try applying SAP Note 1263112.
    Find the below link which will be helpful as this can be one of the reasons:
    soamanager referencing wrong port number in wsdl document
    Thanks
    Dhwani

  • SOAPDecoder WebService parsing problem

    This is really urgent for me!
    I encountered the following:
    It seems JavaME WebService API is not able to handle the following
    XML part:
    <!--soap/Message header etc. -->
    <strList>
    <strList>A</strList>
    <strList>Test</strList>
    </strList>
    <!-- soap/Message footer etc. -->
    Is this correct? What can I do to make this work? The next step would be
    to parse myself.
    The Server uses org.apache.axis.encoding.ser.BeanSerializerFactory
    to write the Bean ResultList that only contains a String[] with the name
    strList. However the serializer makes a double strList of it. I generated
    a stub with WTK 2.5 and 2.3.
    This is the server returned XML that is not parsed correct. However
    a PocketPC client handles it correct. Why?
    Please help, I spent 14 hours today and didn't find a solution.
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <getResultListResponse xmlns="http://wherever.de">
    <getResultListReturn>
    <reqDataId>0</reqDataId>
    <strList>
    <strList>This</strList>
    <strList>is</strList>
    <strList>a</strList>
    <strList>test</strList>
    </strList>
    </getResultListReturn>
    </getResultListResponse>
    </soapenv:Body>
    </soapenv:Envelope>

    happyyear wrote:
    I also found this problem.
    Yes, it is a 4 lines text. It includes newline.
    But it is ok when using JDK1.5.
    I wonder if it is a bug of JDK1.6.
    If I replace the line character first as follows, it is ok.
    Scanner s = new Scanner(tl1Msg.replaceAll("\r\n", ""));The problem is why it is ok in JDK1.5.
    Edited by: happyyear on Feb 1, 2008 2:31 AMYou must have changed something else. Can you post some sample code that executes using JDK 1.5 but not JDK 1.6?
    This fails on both 1.5 and 1.6, just as expected
    public class Test {
        public static final String DATA = "08-02-01 03:21:19\r\nA 3923 REPT DBCHG\r\nTIME=03-21-19,WAVELENGTH=NA,:OOS-AUMA,NALMNR&UEQ\r\n;";
        private static final String PST_SST_PATTERN = ":(IS-\\w+|OOS-\\w+),+(.+)";
        public static String[] parsePSTSST(String tl1Msg) {
            String[] res = new String[2];
            try {
                Scanner s = new Scanner(tl1Msg);
                s.findInLine(PST_SST_PATTERN);
                MatchResult result = s.match();
                for (int i = 1; i <= result.groupCount(); i++) {
                    System.out.println("PST_SST=" + result.group(i));
                    res[i - 1] = result.group(i);
                s.close();
            catch (Exception ex) {
                System.out.println(ex);
            return res;
        public static void main(String[] args) {
            parsePSTSST(DATA);
    }Kaj

  • J2ME webservice client problem

    hi,
    i am trying to use the webservice client using J2ME on Nokia 6630 device, the problem comes as follow:
    i am using webservice client at netBeans IDE 5.0. started the project and create the webservice client, compiled the project, worked on the emulator properly.
    transfered it on the device, but unfortunatily does not do anything, when i select the application and nothing happen!
    please advice, because i have several trials with no use, and i searched whole the internet, no one talked about this problem.
    thanks in advance.

    please be more specific...
    is the installation is OK?
    if it's OK, can you see the first screen of your application and when your application is freezing? do you try to connect it to the web?
    ...

  • Retry Activity - WebService Code Problem

    Hi all,
    We have an activity when contains a Web-Service Code. This activity calls an external Web-Service by passing parameters and waits for response from the external Web-Service.
    We want this activity which contains the Web-Service Code to retry 2 times before entering into a System Exception when failed.
    We have configured the parameters in the Process Administrator ----> Engine ---> Execution ---> Automatic Execution --> Retry Times = 2.
    But somehow this activity ONLY does not retry 2 times before entering into a System Exception when failed. The other activities which DO NOT have any Web-Service Call code, do retry 2 times before entering into a System Exception when failed.
    Why is this so?
    Is it that an activity having Web-Service Call code cannot be retried when failed before entering into a System Exception?
    How do we rectify this problem?
    Is there any other parameter that we need to change for the retry of an activity that CONTAINS WEB-SERVICE CALL CODE?
    Btw.. I am using Local Variables for calling parameters inside my web-service.. Is that a problem? If I use Instance Variables then the entire process fails to execute and it takes a lot of space too..
    Edited by: user8766631 on May 5, 2010 10:55 AM

    I have tried calling them as webservices through CF and am
    getting the following Error:
    The string "--" is not permitted within comments
    I have turned off integrated Authentication and all the
    methods have Remote for the access property. I have some
    webservices I can call, others that I can't. They all follow the
    same pattern for their source code because of the code generator I
    wrote.
    There are always 2 CFCs involved, once CFC is nothing put
    <cfproperty> tags to create a message format, the DAO cfc
    (the ones I call directly) essentially get some rows from a
    database and return an Array of the CFC messageformat type, those
    are the methods that return no data, but other methods like
    updating and deleting data from the tables does work via a
    webservice, its only calling methods that return data that fails,
    and not for every service, only certain tables, and there is no
    rhym or reason to it thus far.
    Any other ideas? I would hate to have to start using
    .NET.....

  • WebService Receiver Problem. Pls advice urgent.

    Hi All,
    I have R/3 (RFC) -- XI -- R/3(WebService) Scenario.
    Now when I test my WebService in R/3 using wsadmin command it works fine.
    But If I import my webservice as wsdl file and use it in Soap Receicer Adapter and use XI I get error:
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: sapd03ci.alkhaliji.bank</SAP:AdditionalText>
    Pls advice very urgent
    regards

    Hi RAC,
    May I know where this R/3 webservice located.
    In your landscape or not?
    Thanks
    Gujjeti

  • Deploying ejb with webservice annotation problem

    I have the following code:
    HelloInf.java:
    package com.bekijkhet;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import javax.jws.WebService;
    @WebService
    public interface HelloInf extends java.rmi.Remote {
    java.lang.String sayHello()
    throws java.rmi.RemoteException;
    Hello.java:
    package com.bekijkhet;
    import javax.ejb.Remote;
    @Remote
    public interface Hello {
    public String sayHello();
    public String sayHelloRemote();
    HelloLocal.java:
    package com.bekijkhet;
    import javax.ejb.Local;
    @Local
    public interface HelloLocal {
    public String sayHello();
    public String sayHelloLocal();
    HelloBean.java:
    package com.bekijkhet;
    import javax.ejb.Stateless;
    @Stateless
    public class HelloBean implements Hello,HelloLocal,HelloInf {
    public String sayHello() {
    return "Hello World!!!!";
    public String sayHelloLocal() {
    return "Hello Local World!!!!";
    public String sayHelloRemote() {
    return "Hello Remote World!!!!";
    When I compile these, add them to a jar and try to deploy them to a standalone oc4j 11g container I don't see the Webservice. I do see the EJB. Why isn't the webservice annotation picked up?
    BTW: I use jdk 6 u03.
    Mvg Andre Broers

    Hi,
    since there is no enterpise manager in OC4J 11 I am wondering how you verifying the non existence of the WebService. Just asking because I need a clue how to verify this issue.
    Frank

Maybe you are looking for

  • Auto GR from Inbound Delivery

    Hi Alll... 1. Is ther any std config or Master data checks involed for creating an Auto GR from Inbound Delviery ?? 2. Thru ASN i am going to get an Inbound Delivery Created & need an Auto GR for one scenarion & other it shd not create an Auto GR. Ba

  • Need to Log into two different screens on bootup?

    Since resinstalling Mac OS X Mountain Lion on my 2012 13'' Macbook Air, I have to log in twice. While setting up it made me create a new password before it would wipe the disk and let me continue. So now I have to log in twice booting up my macbook a

  • I am emigrating to canada from the uk and taking my ipad 2,how do i go about charging my ipad?

    i am emigrating to canada from the uk and taking my ipad 2,how do i go about charging my ipad with the lower canaidian voltage?

  • F11 (query mode) not working in payment form in AP

    Dear All, F11 function not working in Payment form in R12. I made a payment and quit the form. Whem am trying to query the payment invoice to void it. F11 functionality is not working. Could anyone tell me the solution? Regards Deeps.

  • Initializing Video Import?

    I recently downloaded Photoshop CC on my PC. And I'm trying to make GIFs but when I click on Import Video Frames to Layers, it says "Initializing Video Import" and loads a little bit then stops and never lets me choose a video. I've already tried ope