Getuserprofilebyname web service errors out?

Dear all,
I am using sharepoint online and when I try to use getuserprofilebyname web service, it just shows me error 5566 an error occurred while trying to connect to getuserprofilebyname web service, I have seen people saying that I can disable one of the features
on sharepoint through powershell, but for my sharepoint online I do not have access to that, how do you guys get it to work for your online website? Thanks all
Timothy

Hi,
The GetUserProfileByName service doesn’t work in a web browser. We can use it in InfoPath client or InfoPath Filler but not SharePoint Online due to the look back protection. Please visit here for more information about the limits:
http://support.microsoft.com/kb/2619846
Here are two similar threads for you to take a look at:
http://community.office365.com/en-us/f/154/t/185751.aspx
http://community.office365.com/en-us/f/156/t/249745.aspx
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Web Services Error When running Sample Application

    When I was testing "Create a New Customer" from the Sample application in Oracle's provided free new HTML DB 2.0 environment (just out last night), I got the following error message.
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests.
    I was using my laptop through SBC Yahoo DSL service (dynamic IP address) to test this HTML DB Sample application.
    Any suggestion for this Web Services Error?

    cckung,
    Oracle's IT team has disabled the ability to call web services from htmldb.oracle.com. We are working with them to resolve this, but I don't have an ETA.
    Thanks,
    - Scott -

  • SAP Web Service error text : The database returned a value containing an error , type  CX_SY_OPEN_SQL_DB

    Hello Guru's,
    we are creating sales order in SAP from a quote created in .NET,  through Web Service created in SAP, and consumed in .NET.
    When ever a order is created in SAP for a given quote, SAP returns the sales order number to .NET.
    Orders are getting created as expected, but once in a while we are getting the following error from webservice :
    Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    But the problem is order is getting created in SAP for the perticular quote for which we are getting the above error and this order number is not getting returned to .NET.
    Upon analysis in TCODE  SRT_UTIL for the above transaction ID, has the following details , which are hardly help full to resolve the error.
    ----TYPE                                  CX_SY_OPEN_SQL_DB
    ----ERROR_TEXT                   The database returned a value containing an error
    ----CX_SY_NO_HANDLER
    -----CLASSNAME                     CX_SY_OPEN_SQL_DB
    This Exception raised by Web Service application
    Could you please help in resolving this issue or alteast provide an approach for the same.
    Thank you,
    Suresh.

    Thank you Bhaskar,
    How can we clarify whether the error is from SAP or Web part.
    I have checked ST22, but there is not entry for the perticular  exception transaction ID
    My exception time stamp is
    -------------------START-------------6/9/2014 1:34:33 PM
    Error :Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    -------------------END-------------6/9/2014 1:34:33 PM
    In al11, i found the following for the perticular exception time stamp
    **** Trace file opened at 20140609 133431 Eastern Daylight Time, by disp+work
    **** Versions SAP-REL 720,0,500 RFC-VER U 3 1442251 MT-SL
    XRFC> Begin of user trace
    XRFC> ---------------------------------------------------------------------
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - header                                         <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> REQ_SIZE   : 2685                                                   <
    XRFC> RESP_SIZE  : 0                                                      <
    XRFC> PARENT_ID  : ROOT_CALL_ID                                           <
    XRFC> TRC_KEY    : 40FCEFE3BD6EF184B5CE00155D0B4530                       <
    XRFC> REQ_BASED  :                                                        <
    XRFC> SESSION_ID : 0003925540FCEFE3BD6EF17DB5CE00155D0B4530               <
    XRFC> TS_CALL    : 20140609173408.2880000                                 <
    XRFC> SY_UNAME   :                                            <
    XRFC> HOSTNAME   :                                              <
    XRFC> SY_SID     : PRD                                                    <
    XRFC> SY_MANDT   : 300                                                    <
    XRFC> SYS_NR     : 19                                                     <
    XRFC> APPLSERVER :                                      <
    XRFC> ISPRESCHED : X                                                      <
    XRFC> DURATION   : 21810                                                  <
    XRFC> NETHDRTIME : 21810                                                  <
    XRFC> CALL_STATE : 2                                                      <
    XRFC> ERRORTYPE  : APPLFAIL                                               <
    XRFC> ERRORAREA  : APPL                                                   <
    XRFC> CTXDP_TYPE : SOAP_RUNTIME                                           <
    XRFC> SYNC_ASYNC : S                                                      <
    XRFC> LOCATION   : P                                                      <
    XRFC> DIRECTION  : I                                                      <
    XRFC> REQ_ID     : 91C57815916E421CA9F3D652FFACE9C7                       <
    XRFC> RESP_ID    : 00155D0B45301EE3BBFF89A0267EB5CE                       <
    XRFC> MSG_STATE  : 114                                                    <
    XRFC> IF_NAME_I  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> IF_NS_E    : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> IF_NAME_E  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> ISSHORTCUT :                                                        <
    XRFC> TRC_PATT   : WSTEST                                                 <
    XRFC> TRC_SSID   : PRD_19                                                 <
    XRFC> TRC_USER   :                                           <
    XRFC> TRC_TS     : 20140609173409                                         <
    XRFC> TRC_COUNT  : 99                                                     <
    XRFC> TRC_EXT    :                                                        <
    XRFC> COMPLETE   : OK                                                     <
    XRFC> CALLEDPROG : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> SOAP_APPLI : urn:sap-com:soap:runtime:application:rfc:710           <
    XRFC> CONF_ID    : 00155D0B45301EE3AEFDAD78756555CE                       <
    XRFC> BIND_ID    : 00155D0B45301EE3AEFDAD787565B5CE                       <
    XRFC> OP_NAME    : ZsdCsCreateSalesorder                                  <
    XRFC> COMM_PATRN : Method:ZsdCsCreateSalesorder                           <
    XRFC> OP_NS      : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> REMADDRESS : 172.16.11.43                                           <
    XRFC> DT_OBJ     : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> MEMCONSUMP : 296291                                                 <
    XRFC> WSHOST     :                                                        <
    XRFC> WSPORT     :                                                        <
    XRFC> WSPROT     :                                                        <
    XRFC> WSCLIENT   :                                                        <
    XRFC> WSPATH     :                                                        <
    XRFC> PXYHOST    :                                                        <
    XRFC> PXYPORT    :                                                        <
    XRFC> USEDRFCDES :                                                        <
    XRFC> BONAME     :                                                        <
    XRFC> PROCCOMP   :                                                        <
    XRFC> DEPLOYUNIT :                                                        <
    XRFC> ------------------------------------------------------------------  <
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - trace records                                  <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING Exception handling for IF "ZSD_CS_CREATE       <
    XRFC> _SALESORDER_SERVI" OP name "ZsdCsCreateSalesorder" MSG ID           <
    XRFC> "91C57815916E421CA9F3D652FFACE9C7" user "STULZWEBSERV"              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7240000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SOAP_ROOT : An exception has occurred. |    <
    XRFC> program: CL_SOAP_RUNTIME_ROOT==========CP include: CL_SOAP          <
    XRFC> _RUNTIME_ROOT==========CM004 line: 120                              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_NO_HANDLER : An exception with the type  <
    XRFC> CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor    <
    XRFC> declared in a RAISING clause | program: SAPLSTXD include: LSTXDFDB  <
    XRFC> line: 200                                                           <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_OPEN_SQL_DB : The database returned a    <
    XRFC> value containing an error | program: SAPLSTXD include: LSTXDFDB     <
    XRFC> line: 227                                                           <
    XRFC>                                                                     <
    XRFC> ---------------------------------------------------------------------
    XRFC> End of user trace

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • LS Join Launcher Web Service error 64008

    I getting multiple
    LS Join Launcher Web Service errors (id 64008) on my Front-end servers (LHPv2) and online meetings stopped working. I have reinstalled Web components, but it didn't
    help. Any ideas?
    An exception was encountered when sending Conference Error Report.
     Conference Error Report + Exception Details. CER = Machine:SERVERNAMEBrowserId:Join
    attempted at(UTC):12/10/2013 6:28:13 AMError: request context was lostException = System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Rtc.Internal.JoinLauncher.JoinLauncherTelemetryProxy.SendCERReport(JoinLauncherAsyncContext asyncContext)
    Cause: Failed to report Conference Error Report. Please look through the exception details for more information.
    Resolution:
    Please check if the Data collection agent is running fine & Storage Service is accepting connections

    Process I followed on my FE servers:
    1. stop-cswindowsservice
    2. net stop w3svc
    3. unistalled Web Components and URL-Rewrite
    4. rebooted FE server
    5. run Bootstrapper and install Web
    Components and URL-rewrite module
    6. run LyncserverUpdateInstaller.exe
    from LHPv2 ISO image and install recent updates for Web Components.
    7. one more reboot 
    Now, Lync Online Meetings are working,
    but LS Join Launcher error 64008 is still there, repeating every 15-20 seconds on every FE servers(I have five)
    I tried Lync Server 2013 Logging Tool
    on one of my FE servers and I found these additional errors:
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000117 (JoinLauncher,JoinLauncherProxyRouter.ComputeIncomingURL:3166.idx(2740))
    (0000000000403C61)URL Path is either NULL / empty or points to resources directory
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000135 (JoinLauncher,Default_aspx.Page_Load:849.idx(1915))
    (00000000010FCA91)Context flag is missing !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000137 (JoinLauncher,Default_aspx.Page_Load:849.idx(1961))
    (00000000010FCA91)Proxy module didnt find this meeting to be valid. Preparing to send the correct error response !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000138 (JoinLauncher,JoinLauncherTelemetryProxy.SendCERReport:1579.idx(152))
    (0000000003581F88)Failed to report CER to the DB.

  • HP Photosmart 7520 unable to connect to web services error

    I've used my HP Photosmart 7520 for years without issue scanning to email.  Now I get "Unable to connect to Web Services" error message.  I've done all the procedures listed in the blog, including changing the manual DNS server configuration and still get the same error.  Help!

    Hi @ajbond77,
    Welcome to the HP Support Forums.  I understand that you are getting a connection error message when attempting to use the scan to email feature of your Photosmart 7520 printer.
    If you have already set a manual IP address and manual DNS servers, then 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

  • LYNC Server 2013 LS Address Book and Distribution List Expansion Web Service error - Event ID 62005

    Hi,
      Recently,  I found some of LS Address Book and Distribution List Expansion Web Service error from Lync 2013 Front  End Server, kindly advise help how to solve it. many thanks
    Distribution List Expansion Web Service failed to initialize.
    Exception: The server is not operational.
    Cause: Unexpected exception occurred during initialization.
    Resolution:
    Examine exception details in event to determine the resolution.
    Best Regards
    Thomas

    Hi,
    You can do the following steps to solve the issue:
    Please double check the Windows Firewall is turned off.
    Please check if the CMS replication update to the latest version.
    Make sure Lync Server update to the latest version.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Dir API - Web services Time out

    Hi All,
    I am using Dir API web services to make some mass updates to Config objects. I have developed a client in Java and was able to access/edit the ID objects. The problem I am facing is since the number of objects in the change list is huge ( >1000),  the web services time out.
    I tried to set the time out parameter for the web service call using
    context.put(BindingProviderProperties.REQUEST_TIMEOUT, 600*1000);
    also,
    context.put("com.sun.xml.ws.connect.timeout", 600*1000);
    context.put("com.sun.xml.ws.request.timeout", 600*1000);
    None of them seem to have any impact.
    Any ideas what is the correct way to adjust this time out behaviour?
    Thanks
    Jai

    Hi RK,
    Thanks for that. I am not looking at changing the time outs at Server. I am just interested in changing the time outs for the request I make from the client. The point is I do not want to impact any other services running in the server.
    In WS Navigator, it seems possible to change the time out value using Invocation parameters. (Did not try this yet!!)
    So it must be possible to set the time out for the request from the client.
    Thanks
    Jai
    Edited by: Jaishankar on Aug 25, 2011 2:49 PM

  • JPublisher error in web service call out with XMLType parameters

    Hi,
    We need to create a call to a document/literal web service from PL/SQL.
    I've followed Note 555656.1 of Metalink (step by step and several times) to create it with JPublisher and it works for rpc/encoded but not for document/literal. In this case, when using XMLType elements I get the following error:
    "ORA-00932: inconsistent datatypes: expected IN Conversion failed
    ORA-06512: at line 6"
    Oracle DB is 9.2.0.5
    oc4j_extended is 10.1.2
    JPub is 10.1.0.3.0
    dbws-callout-utility 10.1.2
    Can anybody help us?

    Hi,
    I had same error and then implement your solution. But I get invalid xml error (I have header and body tags)
    How can you remove Envelope tag?

  • SharePoint 2013 web service: Error while sending claim based authentication request (The corresponding SID in the domain is not part of the intended account type)

    We are using .asmx services for SharePoint features such as comments, and rating.
    Service
    Feature   used
    http://<<hostname>>/_vti_bin/socialdataservice.asmx
    Commenting, Rating
    http://<<hostname>>/_vti_bin/UserProfileService.asmx
    For out of box workflows
    In SharePoint 2013,
    SharePoint – 80  web application is on claims based mode and user is logging in with windows authentication. With logged-in client context used to call SharePoint's default web service, we are getting below error message from
    web service (Social data and user profile services).
    Server was unable to process request. ---> The corresponding SID in the domain is not part of the intended account type.
    When the service is accessed using console application with Visual Studio credentials (logged in user), we are able to access the service. Below is the code snippet
    using   (SocialDataService
    service = new  
    SocialDataService())
                      service.Credentials =
    CredentialCache.DefaultCredentials;
    SocialCommentDetail detail =   service.AddComment("<<url>>",
      "Test Comment",
    null,  
    null);
    Are SharePoint 2013 web services not supporting request coming with claim based authentication web application?
    Thanks, Pratik Agrawal (MAQ Software)

    While this applies to 2010, I believe the same is true with 2013:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/925e5f46-317f-46d3-bc55-c67f07eb2372/call-sharepoint-web-services-using-claimbased-authentication?forum=sharepointgeneralprevious
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • PL/sql web service error !!!!!!! Help

    I was trying out the PL/SQL webservice example on OTN [http://otn.oracle.com/pub/articles/price_10gws.html]
    My environment is Oracle10G database, which comes with standalone version of oc4j, and I followed all the steps per the article but I still get the following error on invoking the Pl/SQL webservice: [What is the needed to make it work]...Please let me know...Thanks
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/aurora/ncomp/java/ClassNotFound
         at oracle.j2ee.ws.StatelessStoredProcRpcWebService.getGenerator(StatelessStoredProcRpcWebService.java:17)
         at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:443)
         at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:396)
         at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:514)
         at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:613)
         at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1117)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:733)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:484)
    My web.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
    <web-app>
    <servlet>
    <servlet-name>stateless Database web service - /plsqlsample/dbfunc</servlet-name>
    <servlet-class>oracle.j2ee.ws.StatelessStoredProcRpcWebService</servlet-class>
    <init-param>
    <param-name>class-name</param-name>
    <param-value>db.func.place.order.dbfuncUser</param-value>
    </init-param>
    <init-param>
    <param-name>interface-name</param-name>
    <param-value>db.func.place.order.dbfunc</param-value>
    </init-param>
    <init-param>
    <param-name>datasource-JNDI-name</param-name>
    <param-value>jdbc/OracleDSS</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>stateless Database web service - /plsqlsample/dbfunc</servlet-name>
    <url-pattern>/dbfunc</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <resource-ref>
    <res-ref-name>jdbc/OracleDSS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    And under Directory C:\oracle\product\10.1.0\db01\oc4j\j2ee\home\applications\dbfunc\dbfunc_web\WEB-INF\classes\db\func\place\order
    I have
    08/01/2004 01:03 AM 264 dbfunc.class
    08/01/2004 01:06 AM 2,000 dbfunc.wsdl
    08/01/2004 01:03 AM 3,240 dbfuncBase.class
    08/01/2004 01:03 AM 694 dbfuncUser.class
    4 File(s) 6,198 bytes

    Hello!
    I have a question. You seem to be getting somewhere. In the reference (in your post) there is no mention of web.xml Is it a generated file or a file created by you? I am getting IOException error when generating EAR file. What could be wrong? Please help
    TAI
    habeeb

  • Please help...I can't solve this web services error (ConfigException)

    Hi
    I've got the following error when I try to build document-oriented web services
    [clientgen] Generating client jar for WLWSSEApp.ear(SimpleService) ...
    [clientgen] weblogic.webservice.server.ConfigException: Could not add parameter
    to operation. You must specify either its Java or XML type.
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addPart(WebServi
    ceFactory.java:1258)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMetho
    d(WebServiceFactory.java:1211)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperatio
    n(WebServiceFactory.java:798)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(W
    ebServiceFactory.java:633)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(
    WebServiceFactory.java:220)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebSe
    rviceRuntime(WSDLGenImpl.java:240)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDL
    GenImpl.java:135)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromEAR(ClientGenImpl.java:438)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:345)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
    lientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
    cute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/bea/user_projects/domains/examples/build_ws/build.xml:54: weblogic.webservice.tools.build.WSBuildException: Could not add parameter to operation. You mu
    st specify either its Java or XML type. - with nested exception:
    [weblogic.webservice.server.ConfigException: Could not add parameter to operatio
    n. You must specify either its Java or XML type.]
    My environment:
    - JBuilder X
    - Weblogic Platform 8.1
    - Windows XP SP2
    Here are my steps of implementing web services:
    1. Write the Java code for the back-end components that make up the Web Service. Here's the method that handle the operation
    public String testName(InputParam test) {
    String inputName = test.getName();
    System.out.println("Input name:"+inputName);
    return "Hello "+inputName;
    Here's InputParam:
    public class InputParam {
    private String name;
    public InputParam() {
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    2. Since I use JBuilder X I configure everything including handlers chain through web services designers
    3. Build project
    If nothing goes wrong, I will get generated client jars and a war file with web-services.xml inside.
    I have no problem when I implement RPC-style web services.
    I got the above error when I implement Document-oriented web services, but
    I have no problem when I use String as a parameter instead of InputParam class.
    I tried to change some attributes that might be relevant but got no luck.
    I've tried using clientgen command line as well but the result was the same.
    Below are the guidelines for creating document-oriented web services from the BEA's document that I think I already followed
    - The methods that implement each operation of the Web Service can have only one parameter. This single parameter can be of any supported data type. (The Weblogic web services toolkit support simple JavaBean, doesn't it?)
    - The methods that implement each operation cannot use out and in-out parameters. (I'm not sure about this one since I got Holder classes after using clientgen. However, there's no <param> tag in web-services.xml.)
    I found the old solution from support.bea.com (ID = S-25689), but I don't think my situation is the same. I got the error while building web services...not deploying a web service.
    Any answers to this question will be very much appreciated.
    George

    Quote from: danknuggets11 on 22-December-06, 11:23:06
    Reply, Should have mentioned this before, I can't even turn agp on.  I go into SMARTGART it shows AGP off, Fastwrites off.  If I move the AGP settings to 4x, 8x, it says I need to restart to apply. After the restart it just resets it back to off.
    get Driver Cleaner and remove curently ATI Drivers.
    reboot,
    get and install chipset Drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/VIA4in1_MB.zip
    reboot,
    then get and install ATI Drivers: https://forum-en.msi.com/index.php?topic=102839.msg761297#msg761297

  • Web Service - Errors

    Please help - my Flex trial is about to run out and if I
    can't get this to work, our company will not buy Flex :-(
    In summary, I am getting the following error when attempting
    to call a web service:
    [WSDLError faultString="Element
    http://tempUri2.org/:TestMethodResponse
    not resolvable" faultCode="WSDL.BadElement" faultDetail="null"] ...
    I then get some WSDLParser errors.
    The web service has been implemented as a SQL Server 2005
    Endpoint.
    In SQL Server 2005 the HTTP/SOAP endpoints feature lets you
    consume Web services mapped to objects in SQL Server. Unlike
    earlier versions, IIS is no longer required. The Windows Server
    2003 kernel listener, HTTP.sys, lets SQL Server listen for HTTP
    requests and process them directly.
    There seems to be some connection between Flex and the WS
    being made as the "TestMethodResponse" is defined in the wsdl. I
    understand that I probably need to have an crossdomain.xml
    somewhere but don't know where to put it as there is no web server
    involved.
    Has anyone worked with Flex and SQL Server 2005 endpoints? Is
    it possible to achieve what i'm trying to do?
    Any help will be immensely appreciated ... time is running
    out and if this doesn't work, it's back to boring old reporting
    services for me.
    Hec

    Cheers for the reply,
    I am using Flex 2 with charting - no data services. I can
    load the wsdl from a browser.
    Using XML Spy I can create a SOAP request and receive a
    reply. I'm guessing that Flex just doesn't like the format of the
    wsdl and maybe won't be able to access the Web Service directly?
    Details below.
    Regards
    Hec
    Soap Request:
    =============
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    The response is:
    ===============
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xml:space="preserve" xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:sql="
    http://schemas.microsoft.com/sqlserver/2004/SOAP"
    xmlns:sqlsoaptypes="
    http://schemas.microsoft.com/sqlserver/2004/SOAP/types"
    xmlns:sqlrowcount="
    http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlRowCount"
    xmlns:sqlmessage="
    http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlMessage"
    xmlns:sqlresultstream="
    http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlResultStream"
    xmlns:sqltransaction="
    http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlTransaction"
    xmlns:sqltypes="
    http://schemas.microsoft.com/sqlserver/2004/sqltypes"
    xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:method="
    http://tempUri2.org/">
    <SOAP-ENV:Body>
    <method:TestMethodResponse>
    <method:TestMethodResult xmlns="">
    <sqlresultstream:SqlXml
    xsi:type="sqlsoaptypes:SqlXml">
    <SqlXml>
    <Test>
    <T1 Column1int="1" column2char="Hello "
    Column3nvarchar="World">
    <T2>4</T2>
    </T1>
    <T1 Column1int="2" column2char="Good Bye "
    Column3nvarchar="Cruel World">
    <T2>4</T2>
    </T1>
    <T1 Column1int="3" column2char="It's a "
    Column3nvarchar="Funny Old world">
    <T2>4</T2>
    </T1>
    </Test>
    </SqlXml>
    </sqlresultstream:SqlXml>
    <sqlresultstream:SqlRowCount
    xsi:type="sqlrowcount:SqlRowCount">
    <sqlrowcount:Count>3</sqlrowcount:Count>
    </sqlresultstream:SqlRowCount>
    <sqlresultstream:SqlResultCode
    xsi:type="sqlsoaptypes:SqlResultCode">0</sqlresultstream:SqlResultCode>
    </method:TestMethodResult>
    </method:TestMethodResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <SOAP-ENV:Body>
    <m:TestMethod xmlns:m="
    http://tempUri2.org/"/>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    My Flex code is:
    ===============
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    pageTitle="Test"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    private namespace nstest = "
    http://tempuri.org/";
    use namespace nstest;
    ]]>
    </mx:Script>
    <mx:WebService id="wsTest"
    wsdl="
    http://csodevsql2/Test?wsdl"
    useProxy="false">
    <mx:operation name="TestMethod">
    <mx:request>
    <TestMethodResponse>
    <body>
    </body>
    </TestMethodResponse>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    <mx:Panel x="10" y="10" width="475" height="400"
    layout="absolute" title="WS Test">
    <mx:Button x="30" y="30" label="Get WS Info" width="103"
    height="21"
    click="wsTest.TestMethod.send()" tabIndex="4"
    color="#008000"/>
    <mx:DataGrid x="30" y="75" id="dgTopPosts" width="400"
    dataProvider="{wsTest.TestMethod.lastResult}" height="87">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1"
    dataField="column2char"/>
    <mx:DataGridColumn headerText="Column 2" dataField="
    Column3nvarchar"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Panel>
    </mx:Application>

  • Flash builder 4 - web services error

    good day,
         I'm trying out flash builder 4 beta connect to a simple web service I've created (gsoap calc example).  using the connect data/service
    tab, I choose the web service and enter the service name and wsdl location (on localhost).  fb4 retrieves the wsdl and shows all the methods
    available but when I click finish I get a terse unresolved model error message any suggestions thanks in advance.  The web service is runs
    on the local host so I don't think its a cross domain issue

    sigh, sorry for the problems:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="calc"
    targetNamespace="http://doune.llnl.gov/cgi-bin/calcserver"
    xmlns:tns="http://doune.llnl.gov/cgi-bin/calcserver"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns="urn:calc"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
    xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema targetNamespace="urn:calc"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:ns="urn:calc"
      xmlns="http://www.w3.org/2001/XMLSchema"
      elementFormDefault="unqualified"
      attributeFormDefault="unqualified">
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
    </schema>
    </types>
    <message name="addRequest">
    <part name="a" type="xsd:double"/>
    <part name="b" type="xsd:double"/>
    </message>
    <message name="addResponse">
    <part name="result" type="xsd:double"/>
    </message>
    <message name="subRequest">
    <part name="a" type="xsd:double"/>
    <part name="b" type="xsd:double"/>
    </message>
    <message name="subResponse">
    <part name="result" type="xsd:double"/>
    </message>
    <message name="mulRequest">
    <part name="a" type="xsd:double"/>
    <part name="b" type="xsd:double"/>
    </message>
    <message name="mulResponse">
    <part name="result" type="xsd:double"/>
    </message>
    <message name="divRequest">
    <part name="a" type="xsd:double"/>
    <part name="b" type="xsd:double"/>
    </message>
    <message name="divResponse">
    <part name="result" type="xsd:double"/>
    </message>
    <message name="powRequest">
    <part name="a" type="xsd:double"/>
    <part name="b" type="xsd:double"/>
    </message>
    <message name="powResponse">
    <part name="result" type="xsd:double"/>
    </message>
    <portType name="calcPortType">
    <operation name="add">
      <documentation>Sums two values</documentation>
      <input message="tns:addRequest"/>
      <output message="tns:addResponse"/>
    </operation>
    <operation name="sub">
      <documentation>Subtracts two values</documentation>
      <input message="tns:subRequest"/>
      <output message="tns:subResponse"/>
    </operation>
    <operation name="mul">
      <documentation>Multiplies two values</documentation>
      <input message="tns:mulRequest"/>
      <output message="tns:mulResponse"/>
    </operation>
    <operation name="div">
      <documentation>Divides two values</documentation>
      <input message="tns:divRequest"/>
      <output message="tns:divResponse"/>
    </operation>
    <operation name="pow">
      <documentation>Raises a to b</documentation>
      <input message="tns:powRequest"/>
      <output message="tns:powResponse"/>
    </operation>
    </portType>
    <binding name="calc" type="tns:calcPortType">
    <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="add">
      <SOAP:operation style="rpc" soapAction=""/>
      <input>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="sub">
      <SOAP:operation style="rpc" soapAction=""/>
      <input>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="mul">
      <SOAP:operation style="rpc" soapAction=""/>
      <input>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="div">
      <SOAP:operation style="rpc" soapAction=""/>
      <input>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="pow">
      <SOAP:operation style="rpc" soapAction=""/>
      <input>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
         <SOAP:body use="encoded" namespace="urn:calc" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    </binding>
    <service name="calc">
    <documentation>Simple calculator service</documentation>
    <port name="calc" binding="tns:calc">
      <SOAP:address location="http://doune.llnl.gov/cgi-bin/calcserver"/>
    </port>
    </service>
    </definitions>

  • Web Service Error in SSIS

    Dear All,
         I have a web service, which is used to convert one currency type to another currency. With help of web service task calling that web service in SSIS package. 
    After configuration I tested connection and downloaded WSDL file
    General Tab. Configured Input and Output Tab in Web Service Task.
          When we execute SSIS package it is throwing an error like below. I try to configure with Proxy and with out proxy in both the cases it is throwing same error.
    Error Description :
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Object reference not set to an instance of an
    object..
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    Can Some one help on this issue.
    Regards,
    Praveen C
    Regards, Praveen

    Hello,
    When you say you have configured the proxy, are you talking about the proxy tab on the HTTP Connection Manager? Please
    confirm you have configured it properly.
    http://msdn.microsoft.com/en-us/library/ms189707.aspx
    What is the name of the web service?
    Can you try to do the same on a script task as mentioned in the following post?
    http://blogs.msdn.com/b/farukcelik/archive/2009/07/17/ssis-consuming-a-web-service-without-using-web-service-task-and-http-connection-manager-within-script-task.aspx?Redirected=true
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • Changing default save location

    In our student labs we need Appleworks to default to SAVE to the Student folder - NOT the documents folder. I cannot find any place to change that setting/preference/location. Lab computers are running Appleworks 6.2.9 and OS 10.4.8. Thanks, Monica

  • How can I make my whole site in fullscreen (API) mode, not just the opening page?

    I'm building a site that consists only of static pages, no scrolling, and I want the whole site to be in fullscreen mode. I know it's not good manners on the internet to have a whole site in this mode but it's a site with art and music and I really h

  • I can't add my credit kart

    Hi Guys . I have a credit card for today. I wanted this just add, but now I am told I should look for a different payment method. Why not do that? can someone tell me? I do not quite understand that, unfortunately? pls help me thanks for help guys

  • Error when opening Database.

    Hii, IM facing error when trying to open the database, My apps:11.5.10.2 my Database:10.2.0.4 i have successfully run adcfgclone dbTechStack on Database Tier, but when i try to open the database im getting the following error, Errors in file f:\dev\d

  • How can I get the older versions of iWorks ('13 the ones that came with Mavericks) now that I've purchased a new iMac with Yosemite?

    It just hit me the other day (when my New Mac was on its way) that it would ship with Yosemite and of course ONLY the newest versions of iWorks. This machine is for a person in our business office and she should not have a different version of Pages