BW 3.5 Web Service set up error

Hello,
I am trying to set up SAP BI Webservice for XML Query Result Set on BW 3.5.
When I try to maintain the external aliases (SICF) for my default host, I get the following error:
Target service not available - repair table
Message no. SR053
Does anyone know which table I need to repair? I could not find anything on SDN, or in OSS that referred to this issue
Cheers! Michael

I also had similar kind of issues while actiavting the web service. See the attached thread.
BW 3.5 Query view web service

Similar Messages

  • External Web Service setting for Supplier Registration ROS to EBP

    Dear guys,
    We are working on Supplier registration scenario where potential supplier are accepted in ROS client and then transferred to EBP via Suppliers Directory.
    For this we have defined External Web Service in both clients ROS and EBP
    Can anyone tell me what are the Parameters and setting required to define External Web Service?
    We have created New Web Service with following parameters in both the clients ROS and EBP.
    Web Service ID                     : ROS
    Description                          : Suppliers Directory in ROS Client
    Bus. Type of Web Service               : Lost of Vendors
    Display Partners Data Again in Vendor List      : X
    Vendor Root Node                     : 50000620
    Use Error Log                         : X
    Use HTTP GET to call Web Service          : <blank>
    Codepage of Service                    : <blank>
    Technical Type of Service               : <blank>
    Logical system                    : SRDCLNT300 (EBP Logical system)
    Path for Symbol for Service               : <blank>
    Define Standard Call Structure with following Parameters
    1        <blank>     http://erpdevsrci.egat.co.th:8010/sap/bc/bsp/sap/ros_prescreen/main.do
              URL
    2        HOOK_URL      <blank>     Return URL
    Please correct us.
    With this setting system does display the Suppliers Directory option in Supplier Screening (Suppliers Directory in ROS Client), however after selecting suppliers directory instead of listing the accepted supplier to transfer to EBP, system displays the same suppliers Prescreen again with no option to transfer accepted supplier to EBP client.
    I think I have not set the External Web services setting properly ..
    So can anyone send me the correct web service parameter setting?
    Regards,
    Sandeep parab

    Ramki/disha,
    I have defined following setting in external web services in EBP client
    Web Service ID    : ROS
    Description: External Web Service in EBP
    Bus Type of a Web service : List of Vendors
    Display Partner Data again in Vendor List : X
    Vendor Root Node : 50000620  (this is Vensor Root node in EBP client)
    Use Error Log : X
    Use HTTP GET to call Web Service : <blank>
    Codepage of Service: <blank>
    Techinical type of Service : <Blank>
    Logical system : SRDCLNT310 (this is ROs client from there supplier will be transfered)
    Path for symbol for service : <blank>
    Standard Call Structure Parameter setting as follows
    1. <blank> http://....ros_prescreen/main.do  URL
    2. sap-client 310 fixed_value
    3. sap-username dineshp fixed_value
    4. sap-password GAJANAN fixed_value
    5. HOOK_URL <blank> Return_URL
    6. ~OkCode ADDI fixed_value
    7. ~target top fixedvalue
    8. ~caller CTLG fixed_value
    Also defined ROS external web service as default CAT attribute in the organization setting.
    Maintained ROS client in SAP_BBP_STAL_STRAT_PURCHASER role.
    Created New Users in ROS as well as EBP and tried the scenario. still it failed to transfer the supplier from Ros to EBP.
    Where can we debug the error message?
    Regards,
    Sandeep

  • HP Web Services Setup - Connection error. Check Internet connection.

    I am trying to enable HP Web Services but Connection error. Check Internet connection. .
    I use static ip with Preferred DNS Address: 8.8.8.8 and 8.8.4.4 and it does not work.
    I changed to DHCP also it does not work.
    I have a ZTE home modem router connected to the printer.
    This question was solved.
    View Solution.

    Hi MaBek,
    Can you check if your printers IP address is valid.
    If you have a laptop or PC connected to the same network, open a browser and type the IP address in the address bar and hit enter. 
    This should open a Embedded web Server page if the IP address is valid.
    Here you can navigate to Web Services tab and click on enable to enable web services.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • Consume Web Service In Coldfusion Error

    I'm having a problem using cfinvoke or adding this web service url in the coldfusion admin.
    <cfinvoke returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes" method="PostData">
    I get the error for cfinvoke
    "Cannot generate stub objects for web service invocation. "
    "Name:
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. WSDL:
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. java.io.IOException: ERROR: Missing element inFault "SQLException" in operation "SQLException", in binding GetRates It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors. "
    and in the administrator
    ""Error creating web service. Please ensure that you have entered a correct Web Service name or URL.""
    The url is 
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl
    page loads fine in a browser...
    I do see an issue being brought up here in the wsdl, but I have no idea why...this isnt my wsdl btw..
    <wsdl:operation name="GetRates">
    <wsdl:input message="ns:GetRatesRequest" wsaw:Action="urn:GetRates"/>
    <wsdl:output message="ns:GetRatesResponse" wsaw:Action="urn:GetRatesResponse"/>
    <wsdl:fault message="ns:SQLException" name="SQLException" wsaw:Action="urn:GetRatesSQLException"/>
    </wsdl:operation>
    line 3
    any ideas?
    Thanks for any help...

    Sorry didnt post everything for the sake of space
    I just ended up using .NET to deal with the service..CF just didnt even recognize the url as a valid web service let alone care if I was passing arguments to it.
    On a side note, CF admin doesnt recognize the url as a web service and dreamweaver doesnt recognize the url as a web service either.
    <cfinvoke method="PostLead" returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes">
    <cfinvokeargument name="SpecVersion" value="0">
    <cfinvokeargument name="ForteId" value="TESTID">
    <cfinvokeargument name="AuthKey" value="guestauthenticationkey">
    <cfinvokeargument name="LastName" value="0">
    <cfinvokeargument name="FirstName" value="0">
    <cfinvokeargument name="Address" value="0">
    <cfinvokeargument name="city" value="0">
    <cfinvokeargument name="state" value="0">
    <cfinvokeargument name="zip" value="0">
    <cfinvokeargument name="year" value="0">
    <cfinvokeargument name="vin" value="0">
    <cfinvokeargument name="make" value="0">
    <cfinvokeargument name="model" value="0">
    <cfinvokeargument name="phone" value="0">
    <cfinvokeargument name="crdate" value="0">
    <cfinvokeargument name="listcode" value="0">
    <cfinvokeargument name="odometer" value="0">
    <cfinvokeargument name="dually" value="0">
    <cfinvokeargument name="commercial" value="0">
    <cfinvokeargument name="convvan" value="0">
    <cfinvokeargument name="coverage" value="0">
    <cfinvokeargument name="term" value="0">
    <cfinvokeargument name="deduct" value="0">
    <cfinvokeargument name="av" value="0">
    <cfinvokeargument name="gps" value="0">
    <cfinvokeargument name="wt" value="0">
    <cfinvokeargument name="sg" value="0">
    <cfinvokeargument name="emis" value="0">
    <cfinvokeargument name="fintype" value="0">
    <cfinvokeargument name="finterm" value="0">
    <cfinvokeargument name="downpay" value="0">
    <cfinvokeargument name="cuscost" value="0">
    <cfinvokeargument name="paymeth" value="0">
    <cfinvokeargument name="cc" value="0">
    <cfinvokeargument name="expdt" value="0">
    <cfinvokeargument name="ccid" value="0">
    <cfinvokeargument name="routing" value="0">
    <cfinvokeargument name="banacct" value="0">
    <cfinvokeargument name="checking" value="0">
    <cfinvokeargument name="fbdt" value="0">
    <cfinvokeargument name="promo" value="0">
    <cfinvokeargument name="timeofday" value="0">
    <cfinvokeargument name="prefmeth" value="0">
    <cfinvokeargument name="email" value="0">
    </cfinvoke>

  • C# Web Service Proxy - Autogenerated Error

    Hi all,
    I'm trying to consume a SAP Webservice in a C# console application within Visual Studio 2005. I've added the web reference to the WSDL and as such Reference.cs has been automatically generated. My problem is that I'm receiving two different errors at multiple different locations within this file.
            /// <remarks/>
            [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
            public string Type {
                get {
                    return this.typeField;
                set {
                    this.typeField = value;
    On the line System.Xml.Serialization.XmlElementAttribute(Form=_System_._Xml_.Schema.XmlSchemaForm.Unqualified) (Surrounded by square brackets, I'm not sure how to escape the hyperlink code), I'm receiving the following errors respectively:
    System - An object reference is required for the nonstatic field, method, or property 'WSTest.dotnetWS.Bapiret2.System.get'
    XML - 'string' does not contain a definition for 'Xml'
    I'm not sure why, as this code has been automatically generated, that I'm receiving these errors, is there something that I need to change in order to rectify this problem?
    Thanks,
    Cal

    Thanks André, yes it was the same error.
    While I wasn't able to solve the clash of the Bapiret2 field SYSTEM with the .NET keyword System, I negated the problem by creating my own structure with the fields I needed (did not need the system field).
    So now my program compiles and runs, however - when I try to use the program, that is; i try to invoke the function module the WS is connected to, I receive the following error:
    System.InvalidOperationException: Namespace prefix ' SOAP-ENV' not defined
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadFaultCode(XmlReader reader)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadSoapException(XmlReader reader)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at WSWinApp.dotnetWebService.service.ZcalGetPdets2(ZcalGetPdets2 ZcalGetPdets21)
    My understanding of SOAP isn't that great but my first idea is that I think the WSDL may need a <SOAP-ENV:Envelope /> tag somewhere, although that's just a guess.
    If anyone could shed some light on how to solve this problem or even where to look it would be greatly appreciated.
    Thanks in advance.
    Cal

  • Issue in accessing Client Web Service 401 authentication error

    Hi,
    I have a requirement where i need to call a web service from SOA composite. When i deploy the service on SOA Server and try accessing it i get below error
    **oracle.fabric.common.FabricException: Cannot read WSDL "{http://www.service-now.com}ServiceNow_u_incident" from Metadata Manager.: Error in getting XML input stream: https://XXXXXXX.service-now.com/incident.do?WSDL: Response: '401: Unauthorized' for url: 'https://XXXXXXXX.service-now.com/incicdent.do?WSDL'**
    If i go from broweser and hit the url it asks for my ldap / windows credential.
    My question is how to i pass these credentials from Composite.
    sample service
    https://demo.service-now.com/incident.do?WSDL
    Shirish

    To pass HTTP Basic Auth from an External Reference in a composite_
    Set up in the EM
    1. Create the credentials in the EM
    - In the EM Weblogic Domain > right click the domain name
    - Choose Security > Credentials
    2. Create an oracle.wsm.security map
    This is where the http token details are held
    - If the oracle.wsm.security does not exist create one (Create Map)
    - call it oracle.wsm.security
    3. Create the Key
    - Click create Key
    - Enter the following values
         Select Map -> oracle.wsm.security
         Key -> Key name
         Type -> Password
         Username -> << basic auth username required >>
         Password -> << basic auth password required >>
         Description -> Clear text description
    Note : Make the key name specific to the service you are accessing i.e. basic.credentials.sitea.demo
    Secure the Reference Partner Link
    In JDeveloper
         Open the composite that needs securing
         Right click on the external reference
         Select Configure WS Policies
         For Security, click the + button
         Select the oracle/wss_http_token_client_policy entry
         Select this and click the pencil button to edit the Override Value.
         In the override value column (csf-key), enter the credential key name you wish to use. i.e. basic.credentials.sitea.demo
    Deploy the service, and this will now be secured against the Basic Auth.
    This does not address SSO / Windows AD integration from the client, this is where a Web Service is protected by basic auth. If you need to integrate with AD as SSO etc then you will need to configure Kerberos. That is a much bigger explaination that you will probably find on the Net.
    Good luck
    Edited by: rodhiggins on 28/05/2013 22:52

  • System.Web.Services.Protocols.SoapHeaderException error in script task

    HI,
    My requirement is I have to create a XML of each row from a table and push one XML data of each row to a web services. This is a syncronous call to web services where it will send the response of each row XML.
    The WSDL file is having a method called MATCHXML having 4 parameters namely ControlXML, BatchXML, Username, Password. I have created the ControlXML & BatchXML through code and storing into a string variable seperatly. The WSDL alos contains 4 input called
    RequestUUID, ChannelID, ServiceRequestID & ServiceRequestVersion which has to be send to web services compulsory along with the method. In order to implement this, first I have added Web reference of the Web service URL into library, then invoked the method
    to hit the web services. The code looks likes as below:
    //Initiated an object of the class from the WSDL file
    Matching match = new Matching
    string result = match.MatchXML(controlXML,BatchXML,Username,Password)
    Then, at the above line it display the below error:
    SSIS package "HunterAutomation.dtsx" starting. Error: 0x1 at Generates XML file & Update variable: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.Services.Protocols.SoapHeaderException:
    Mandatory field is not set in EAI_SOAPINPUT; Element -> Environment.eaiCommon.BTID, Environment.eaiCommon.Header.ChannelID, Environment.eaiCommon.Header.RequestUUID, Environment.eaiCommon.Header.ServiceRequestId, Environment.eaiCommon.Header.ServiceRequestVersion
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at ST_ae3b1e5eadb64fdba5040f4efa743458.csproj.Hunter.Matching.Match(String controlXml, String batchXml, String username, String password) in C:\Users\CPUTRACKINGAPP\AppData\Local\Temp\3\SSIS\377534961d7f4fdb91565f9366317fdc\Web References\Hunter\Reference.cs:line
    93 at ST_ae3b1e5eadb64fdba5040f4efa743458.csproj.ScriptMain.Main() in C:\Users\CPUTRACKINGAPP\AppData\Local\Temp\3\SSIS\377534961d7f4fdb91565f9366317fdc\ScriptMain.cs:line 1307 --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object
    target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle
    typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
    Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
    at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript() Task failed: Generates XML file & Update
    variable Warning: 0x80019002 at For Loop Container: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of
    errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. Warning: 0x80019002 at HunterAutomation: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised
    (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS package "HunterAutomation.dtsx" finished: Failure.
    In order to solve the issue i have manual created the soap header code. Now Im not understanding how to send the soap header XML message along with the MATCHXML method. I am trying very hard to solve the issue from last 3 weeks but NO LUCK.
    Could anyone please help me out on this and I'm already running out of my deadlines.

    Ok, from the looks of it you're calling the web service from within an SSIS package. Are you able to call the web service in a stand-alone C# console app and is the error just occurring in the SSIS package or not? If it occurs in both situations, continue
    development in in the C# console app as this will make debugging easier. Also, in order to help you further, are you calling a web service under your control or not, and is the web service a WCF service or not?
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Web Service - Invoke Web Service not trapping errors

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

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

  • ALUI-Create Web Service - Remote Portlet Error 401:Unauthorized

    I have some problems during user ALUI(AquaLogic User Interaction 6.1).
    I created a Web Service - Remote Portlet,then set value of Basic Authentication Settings is "User's Basic Authentication Information". When related remote server refer to tomcat5.5,the Web Service - Remote Portlet is fine to run,but not when the related remote server refer to weblogic9.2.
    When value of Basic Authentication Settings is "Use Remote Server Basic Authentication Information", related remote server refer to weblogic9.2 or tomcate5.5, the portlet is fine.
    error detail:
    Error
    sso Portlet cannot be displayed because the remote server returned an invalid HTTP response code.
    We recommend:
    • Refresh sso Portlet
    • Accessing this portlet at a later time.
    • Contacting your portal administrator if problems persist.
    Detailed error information
    • Response status: 401
    • Response body:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.

    How to configure remote server to accept authorization header?
    I set value of Basic Authentication Settings is "User's Basic Authentication Information" because the Web Service - Remote Portlet need to get the portal's login user infomation.If the value is "Use Remote Server Basic Authentication Information",the application is fine to run.
    The follow is the way to get login user infomation.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);
    ICredentialProvider cProvider = portletContext.getCredentialProvider();
    String username = cProvider.getUsername();
    String password = cProvider.getPassword();
    Do you have other way to authenticate users?
    Thanks.
    Edited by: user2233298 on 2009-4-22 下午8:25

  • REST web service set up

    Hello,
    Need help setting up an xpath for a rest web service
    response path:  //m:properties
    REST output parameters
    name:  project   path: /d:WO_PREFIX
    When I try to create a Form and Report I get an error using the defaults:
    ORA-20001: Unable to create form on table. ORA-00907: missing right parenthesis
    What would be the correct setup for this to work????
    Here is an example of my response
    <?xml version="1.0" encoding="utf-8"?>
    <feed xml:base="http://xxx.xx.com/EF/odata" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
      <id>http://schemas.datacontract.org/2004/07/</id>
      <title />
      <updated>2013-08-28T17:51:58Z</updated>
      <link rel="self" href="http://xxx.xx.com/EF/odata/PROJECTS" />
      <entry>
        <id>http://xxx.xxx.com/EF/odata/PROJECTS('ZZZ')</id>
        <category term="WOSApi.Models.PROJECT" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
        <link rel="edit" href="http://xxx.xx.com/EF/odata/PROJECTS('ZZZ')" />
        <link rel="self" href="http://xxx.xx.com/EF/odata/PROJECTS('ZZZ')" />
        <title />
        <updated>2013-08-28T17:51:58Z</updated>
        <author>
          <name />
        </author>
        <content type="application/xml">
          <m:properties>
            <d:WO_PREFIX>ZZZ</d:WO_PREFIX>
          </m:properties>
        </content>
      </entry>
    </feed>

    Use Xmlspy or some editor to modify or edit the WSDL as per need.
    elementFormDefault="qualified"
    This means that all the elements in the XML document must have namespace variable prefixed with them.
    elementFromDefault="unqualified"
    This means that not all the elements in the XML document requires namespace variable prefixed with them. Only the root element has to be prefixed with namespace variable.

  • Calling Web Service - XML Parse Error

    Hello,
    I have created Client proxy to call a Web Service. This service requires WS Header. This is my code to create the header:
    concatenate
    '<soap:Header>'
    '  <wsse:Security mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">'
      '  <wsse:UsernameToken Id="uuid-90128b0b">  '
         '  <wsse:Username>User123</wsse:Username>  '
         '  <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">Pass123</wsse:Password>  '
      '  </wsse:UsernameToken>  '
    '  </wsse:Security> '
    ' </soap:Header> ' into l_string.
    When I make the call, I receive the following error:
    CODE                                        SoapFaultCode:4
    ERRORTEXT                           #XML parse error.#
    If I comment out UsernameToken element, the errors says that UsernameToken is missing, once I added it, I get XML parse error.
    Here is the info from trace file:
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> INFO 09:40:16: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL       <
    XRFC> ->IF_SOAP_PROTOCOL~PRE_PROCESS() SOAP Session Protocol              <
    XRFC> preprocessed                                                        <
    XRFC>                                                                     <
    XRFC> INFO 09:40:16: SOAP Transport Binding CL_SOAP_HTTP_TPBND_ROOT       <
    XRFC> ->IF_SOAP_TRANSPORT_BINDING~SEND() Try to send message ( DEST =     <
    XRFC> CCTEST_AUC ,PATH = ,URL = ,SOAP Action = "runTransaction" )         <
    XRFC>                                                                     <
    XRFC> INFO 09:40:16: SOAP Transport Binding CL_SOAP_HTTP_TPBND_ROOT       <
    XRFC> ->IF_SOAP_TRANSPORT_BINDING~SEND() Message sent                     <
    XRFC>                                                                     <
    XRFC> INFO 09:40:16: SOAP Transport binding CL_SOAP_HTTP_TPBND_ROOT       <
    XRFC> ->IF_SOAP_TRANSPORT_BINDING~RECEIVE() Try to receive message        <
    XRFC>                                                                     <
    XRFC> INFO 09:40:16: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->HANDLE    <
    XRFC> STATUSCODE() Received return code 500 ( Internal Server Error )   <
    XRFC>                                                                     <
    XRFC> ERROR 09:40:16: SOAP Message CL_SOAP_MESSAGE->IF_SOAP_MESSAGE       <
    XRFC> PART~INITFOR_DESERIALIZE() SOAP Fault Exception caught: :          
    XML    <                                                                   
    XRFC> parse error.                                                                               
    <                   
    XRFC>                                                                     <
    Does anyone know what could be the problem?
    Thanks,
    Alex

    I was able to fix the issue last night, it was caused by preparing WS header incorrectly. Originally, I did not use wsse prefix, and this was issue number 1. Once I added the prefix, I thought that the following code is incorrect because it was only retreiving 1 elements - UsernameToken.
    xml_root = xml_document->get_root_element( ).
    xml_element ?= xml_root->get_first_child( ).
    * add header element by element to SOAP header
    while not xml_element is initial.
    name = xml_element->get_name( ).
    namespace = xml_element->get_namespace_uri( ).
    ws_header->set_request_header(
    name = name
    namespace = namespace
    dom = xml_element ).
    xml_element ?= xml_element->get_next( ).
    endwhile.
    So, I added to logic to get and then set all childeren, and this was the mistake. This is what caused "XML Parse Error". UsernameToken had already all info with user name and password. Once I removed the extra logic to get all 4 elements, the client proxy began working.
    Regards,
    Alex

  • Inbound Web Service calls get error "Reliable Messaging(RM) configured, but no Message ID..."

    We are setting up the Communication System and Communication Arrangement "Business Partner Replication from SAP ERP".
    For protocol, we are using Type 5 - WebServices.  See screenshot below.
    Our error is that when we send webservice calls to our C4C, we get messages:
    1.  Web service response is "Web service processing error; more details in the web service error log on provider side"
    2.  Backend error messages is "SRT: Plain SOAP: Reliable messaging (RM) configured, but no Messaging ID and no WSRM assertion provided"
    We have sent messages from PI and also independently thru soapUI.
    So it seems the C4C in the backend is stuck on the RM messaging protocol setting.
    Appreciate any and all assistance.

    Hi Tim,
    For this error following are the places that needs to be checked.
    1. In C4C the protocol defined in the Communication System should be 5 - Web Services
    2. In C4C Communication Arrangement should have the right protocol selected
    3. In PI make sure the Communication Channel's are created using provided Communication Channel Templates as part of the standard PI content.
    In other words just follow the integration guide available in SMP to avoid such errors.
    Hope this helps.
    Thanks,
    Prakash

  • Web Services Server Connection Error

    Although I was able to add my printer to hpeprintcenter successfully, after a few hours it was showing disconnected.  When I pressed refresh I received a popup saying my printer had been removed.  After clicking ok on the popup my printer was still listed and it's state was disconnected.  Some advice I read suggested I disable Web Services from my printer's menu and renable it which would give it a new email adddress.  I disabled it, but now when I try to enable Web Services the printer displays "Server Connection Error There was a problem connecting to the Server. Touch retry to connect again, or OK to Exit.".  I have retried multple times for the last 12 hours with no success.  Any suggestions?

    I don't want to jump to that conclusion just yet. When you set the static IP from the front panel of the printer, did it let you set a static DNS? The static DNS is the important part of that step. If it didn't let you set the static DNS, go into the printer's EWS by typing it's IP address into a web browser. Set the printer to use Google's DNS (Preferred = 8.8.8.8 : Alternate = 8.8.4.4). Once you set the static DNS, power down the printer and router. Turn the router back on first and let it stabilize before turning the printer back on. It normally takes a minute or two for a router to stabilize. Let me know what happens.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Web Services and NosuchMethod Error

    A brief rundown of my problem :
    I'm working with a java portlet and a webservice. I have set up the webservice to the point where I see it in the server window and I can test the methods. The specific method I'm having a problem with works correctly when I use the test method functionality on the server pane.
    I can create the Service in my code and if I type ServiceName.MethodName it gives me the correct methods in the dropd down.
    When I run the project it kicks out right at the line ServiceName.MethodName and gives me this error message in the logs
    Caused by: java.lang.NoSuchMethodError: webservice.ep_service.EP_ServiceSoap.get_WorkList_FieldNames(Ljava/lang/String;)Lwebservice/ep_service/ArrayOfString;
    at webservice.ep_service.ep_service1.EP_Service1Client.get_WorkList_FieldNames(EP_Service1Client.java:78)
    at worklist.Worklist.button1_action(Worklist.java:442)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    I'm extremly new to Java Stuido Creator and I need help in understanding why I'm getting this error message. Is this a known problem with Creator? If so is there a workaround.
    If there is any additional information you need from me, just ask. Thanks in advance.

    Are you saying that you can run "Test Method" in Servers window, but it fails when you deploy the project? Can you try to drag the web service method and drop it onto some component and then run the project? My guess is that when you manually call the method in your code, the parameters you pass in are not correct.

  • P1102w cannot enable "HP WEB SERVICES" for sprintConnection error" check

    I have a new printer which works fine for wifi printing but I'd like to use web printing which I beleive is called eprint.
    I printed the configuration page and my firmware is 20120814
    I cannot see were my printers email address is.
    I navigated to the printers url and clicked on the tab "hp web services" and clicked on the green button enable but I keep getting the following error message.
    "connection error: check internet connection"
    From the router I can see that both the laptop and printer are on the same network 192.168.0.??
    Can you please advise I suspect I have a fault on the printer but cannot be certain what can I do, I have updated the software on my mac which is running mavericks 10.9.2 , I've even hit the update software and there is no further updates available whch should mean I have the latest software and firmware for the printer.
    Please advise how I may overcome the error when there clearly is no network issue as I can get to the printer to print and go to its web pages without any issues at all?

    Hi  paz_egap,
    Thank you for the thorough response, I appreciate it.
    Since you have set a static ip with manual DNS servers and you are still cannot enabled the web services is the firmware up-to-date on the printer.  Please follow the steps in Getting the Firmware and Product Updates.  Once the firmware is current and the printer still has its manual ip address and manual DNS servers you should be okay to enabled the web services on the printer.
    If you are still having an issue after completing the above please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region.  If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for

  • Is there a way to have Adobe Acrobat run in the background while scanning documents?

    This was working fine up until last week and then all of a sudden, the scanning program overrides anything else I'm doing on the computer (such as typing an email, etc).  I'm not sure if a recent update removed that setting, but I'd like to be scanni

  • How to Compile & Deploy the Java Concurrent Program File

    Hi, There is a requirement to create the Java Concurrent Program in Oracle eBusiness. I am able to create the Java Concurrent Program file. But unable to do the following things: 1.Since it is custom file, which location I will deploy the file? 2. Ho

  • Question about eaither a user or dreamweaver error

    Hello everyone, When I added some html code that  integrates with another php file for a  "contact us" form, now all of the  content almost is blank in  dreamweaver. I can still preview in the  browser and it looks correctly  but am wondering why it

  • Disabling Auto-Login Option

    How do we disable Auto-Login option in OBPM 10GR3 because I get the following error:- You have the autologin option enabled and the session for this execution has expired .

  • OIA webservice for removing user role

    Hi, I need information regarding web services exposed in OIA for removing roles etc. We need it in our environment wherein we may not be having priviledge to make database query directly for removing user roles. (the use case is as follows: when user