Web Service parameter conversion problem

Hi,
   I have written a web service to provision a synchronization scope on a remote SQL Server 2008 database. The database will eventually sync with an SQL CE 3.5 database.
[WebMethod]
public bool ProvisionSQLRemoteScope(string remoteSQLConnStr, string scopeName, Microsoft.Synchronization.Data.DbSyncScopeDescription scopeDescCE)
In my desktop application I call the web method as below.
PEWebServiceReference.PEWebService ws = new PEWebServiceReference.PEWebService();
//Create a connection to the desktop site database (SQL CE 3.5)
SqlCeConnection desktopConnection = new SqlCeConnection(desktopConnStr);
//Get the description from the desktop sdf site database
Microsoft.Synchronization.Data.DbSyncScopeDescription scopeDescCE = SqlCeSyncDescriptionBuilder.GetDescriptionForScope(scopeName, desktopConnection);
bool ProvisionRequired = ws.ProvisionSQLRemoteScope(remoteSQLConnStr, scopeName, scopeDescCE);
But I get the below error?
Cannot convert from 'Microsoft.Synchronization.Data.DbSyncScopeDescription' to 'PEWebServiceReference.DbSyncScopeDescription'
Any help appreciated.
Thanks
Paul. 
Paul Wainwright

Michael,
           I edited my 'References.cs' file in my client app changing:
public bool ProvisionSQLRemoteScope(string remoteSQLConnStr, string scopeName, PESQL.PEWebServiceReference.DbSyncScopeDescription scopeDescCE)
to
public bool ProvisionSQLRemoteScope(string remoteSQLConnStr, string scopeName, Microsoft.Synchronization.Data.DbSyncScopeDescription scopeDescCE)
and also changed:
PEWebServiceReference.PEWebService ws = new PEWebServiceReference.PEWebService();
PEWebServiceReference.PEWebServiceSoapClient ws = new PEWebServiceReference.PEWebServiceSoapClient();
and everything seems to work.
Thanks for the help.
Paul.
Paul Wainwright

Similar Messages

  • Web service empty relationship problem

    hi all,
    I have a pretty simple web service. Two entities, a citizen and a business. A citizen is able to register 0..n businesses. There is a WS which reads the citizen. When the business key list in citizen is empty the web service wont return the citizen (portal request failed could not execute web service operation). When at least one relation is defined all works fine.
    I've tested the web service. The problem occurs only with VC.
    thanks for your help,
    regards, felix

    Hi Ankur,
    no, not exactly...
    The webservice is tested with an id as input and returns some string values (name, firstname...) and a list of references to other objects. When this list is empty...(depending on the back end system)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'></ns1:businessRef>
    ... visual composer returns an error.
    when this list is not empty (again depending on database entries in the back end)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'><pns:String>c22bc900-dec3-11db-cdce-00505625e523</pns:String>
    </ns1:businessRef>
    ... visual composer does not return an error but returns the values like the service is supposed to do.
    Testing the web service with Web Services Navigator both scenarios are working without problems.
    thanks for your fast response,
    felix

  • Web service model initialization problem

    Hello, every one
    I have some trouble in the initialization of web service model.
    I tested the web service through web service navigator and it was ok.
    My context structure is:
    Request_ZBAPIWCALIST_zbapiWcalist(0..n)
    --parameters(0..1)
    rBdate(0..n)
    high(string)
    low(string)
    option(string)
    sign(string)
    --Response(0..1)
    Result(0..1)
    tWca(0..n)
    estat(string)
    istat(string)
    Following is my codes:
    Request_ZBAPIWCALIST_zbapiWcalist model = new Request_ZBAPIWCALIST_zbapiWcalist();
    ComplexType_ZbapiWcalist parameter = new ComplexType_ZbapiWcalist();
    model.setParameters(parameter);          
    ComplexType_ZbapiRBdate rBdate = new ComplexType_ZbapiRBdate();
    ComplexType_ZbapiRResp rResp = new ComplexType_ZbapiRResp();
    ComplexType_ZbapiRTplnr rTplnr = new ComplexType_ZbapiRTplnr();
    ComplexType_ZbapiRWapinr rWapinr = new ComplexType_ZbapiRWapinr();
    ComplexType_ZbapiRWapius rWapius = new ComplexType_ZbapiRWapius();
    ComplexType_ZbapiWcalistImport wcaImport = new ComplexType_ZbapiWcalistImport();
    rBdate.setLow("2007-7-1");
    rBdate.setHigh("2007-7-2");
    rBdate.setOption("EQ");
    rBdate.setSign("I");          
    rResp.setLow("");
    rResp.setHigh("");
    rResp.setOption("");
    rResp.setSign("");
    rTplnr.setLow("");
    rTplnr.setHigh("");
    rTplnr.setOption("");
    rTplnr.setSign("");
    rWapinr.setLow("");
    rWapinr.setHigh("");
    rWapinr.setOption("");
    rWapinr.setSign("");
    rWapius.setLow("");
    rWapius.setHigh("");
    rWapius.setOption("");
    rWapius.setSign("");
    wcaImport.setAnye("");
    wcaImport.setAnyi("");
    wcaImport.setSpd("");
    wcaImport.setStatu("");
    wcaImport.setWerks("");          
    ZbapiRBdate rBdateBean = rBdate.getOriginalBean();
    ZbapiRResp rRespBean = rResp.getOriginalBean();
    ZbapiRTplnr rTplnrBean = rTplnr.getOriginalBean();
    ZbapiRWapinr rWapinrBean = rWapinr.getOriginalBean();
    ZbapiRWapius rWapiusBean = rWapius.getOriginalBean();
    ZbapiWcalistImport wcaImportBean = wcaImport.getOriginalBean();
    ZbapiRBdate[] rBdateArray = new ZbapiRBdate[1];
    rBdateArray[0] = rBdateBean;
    ZbapiRResp[] rRespArray = new ZbapiRResp[1];
    rRespArray[0] = rRespBean;
    ZbapiRTplnr[] rTplnrArray = new ZbapiRTplnr[1];
    rTplnrArray[0] = rTplnrBean;          
    ZbapiRWapinr[] rWapinrArray = new ZbapiRWapinr[1];
    rWapinrArray[0] = rWapinrBean;          
    ZbapiRWapius[] rWapiusArray = new ZbapiRWapius[1];
    rWapiusArray[0] = rWapiusBean;
    wcalistBean.setRBdate(rBdateArray);
    wcalistBean.setRResp(rRespArray);
    wcalistBean.setRTplnr(rTplnrArray);
    wcalistBean.setRWapinr(rWapinrArray);
    wcalistBean.setRWapius(rWapiusArray);
    wcalistBean.setWaImport(wcaImportBean);
    wdContext.nodeRequest_ZBAPIWCALIST_zbapiWcalist().bind(model);
    The exception is:
    LocalizedMessage: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Low] of class [com.pjs.wcalist.model.wsmodel.proxies.types.p1.ZbapiRWapius] must exist and can not be null. This is required by schema description.
    In the test of the web service the Low of the ZbapiRWapius is not needed.
    And after setting the value, the exception told me that I must set the tWca, ie the subnode of the result.
    The problem is: I do not know why the setter method of the original bean of the "parameters" only accept the parameter of array type .
    I think the parameter I set may be wrong.
    When I deal with another web service model(the level of the structure is not deep), it is ok.
    Could someone give me some suggestion or explanation?
    Thanks a lot.
    Referring to the link:
    Re: HELP for WebDynpro web service model with complex structure

    Hi,
    I ahbe set the proxy in webcontainer in configtool,Is there any other thing i need to do?But please tell me what does the error means,<b>GenericServiceFactory error</b>?
    waiting for your reply,
    Regards,
    Ameya

  • Web Service Parameter error

    Please help me, I'm too much lost because I can not pass ParameterFields to the CrystallReportViewer, It always give me the error
    "Object reference not set to an instance of an object."
    Only simple report and only one ParameterFields . Nothing else:
    The code I pass parameter is copied from the MSDN help as the following:
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    crystalReportViewer1.ReportSource =
    "http://localhost/ec/reports/CrystalReport1Service.asmx";
    try
    SetParameterFieldInfo("x1", "xxxx");
    catch (Exception)
    throw;
    private void SetParameterFieldInfo(String fieldName, String fieldValue)
    CrystalDecisions.Shared.ParameterDiscreteValue parameterDiscreteValue = new CrystalDecisions.Shared.ParameterDiscreteValue();
    parameterDiscreteValue.Value = fieldValue;
    CrystalDecisions.Shared.ParameterValues currentParameterValues = new CrystalDecisions.Shared.ParameterValues();
    currentParameterValues.Add(parameterDiscreteValue);
    CrystalDecisions.Shared.ParameterField parameterField = new CrystalDecisions.Shared.ParameterField();
    parameterField.Name = fieldName;
    parameterField.CurrentValues = currentParameterValues;
    //if (parameterField.HasCurrentValue)
    // MessageBox.Show(parameterField.);
    CrystalDecisions.Shared.ParameterFields parameterFields = new CrystalDecisions.Shared.ParameterFields();
    parameterFields.Add(parameterField);
    crystalReportViewer1.ParameterFieldInfo = parameterFields;
    As you can see from the above code it is very straight. I always get the following exception:
    at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
    at CrystalDecisions.Windows.Forms.ParameterValueEditControl.Start()
    at CrystalDecisions.Windows.Forms.ParameterUnit.AddEditControl(ParameterValue pv)
    at CrystalDecisions.Windows.Forms.ParameterUnit.UpdateControls()
    at CrystalDecisions.Windows.Forms.ParameterUnit.set_ParameterFieldInfo(ParameterFieldInfo value)
    at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowParameters()
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowInteractiveParameters()
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport()
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(PaintEventArgs evtArgs)
    at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)
    at System.Windows.Forms.ToolStrip.EraseCorners(PaintEventArgs e, Region transparentRegion)
    at System.Windows.Forms.ToolStrip.OnPaintBackground(PaintEventArgs e)
    at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    at System.Windows.Forms.Control.WmPaint(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.SafeNativeMethods.UpdateWindow(HandleRef hWnd)
    at System.Windows.Forms.Control.Update()
    at System.Windows.Forms.ToolStrip.ClearAllSelectionsExcept(ToolStripItem item)
    at System.Windows.Forms.ToolStrip.NotifySelectionChange(ToolStripItem item)
    at System.Windows.Forms.ToolStripItem.Select()
    at System.Windows.Forms.ToolStrip.ChangeSelection(ToolStripItem nextItem)
    at System.Windows.Forms.ToolStrip.SelectNextToolStripItem(ToolStripItem start, Boolean forward)
    at System.Windows.Forms.ToolStrip.Select(Boolean directed, Boolean forward)
    at System.Windows.Forms.Control.SelectNextControl(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
    at System.Windows.Forms.ContainerControl.Select(Boolean directed, Boolean forward)
    at System.Windows.Forms.Control.SelectNextControl(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
    at System.Windows.Forms.Control.SelectNextControlInternal(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
    at System.Windows.Forms.Form.set_Active(Boolean value)
    at System.Windows.Forms.Form.WmActivate(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at testItemCard.Program.Main() in C:\Users\Tariq\Documents\Visual Studio 2008\Projects\testItemCard\testItemCard\Program.cs:line 18
    at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    Then the report is diplayed propably and the parameters is passed to it but I want to avoid this exception
    Please help me to figure out what is wrong, I can send parameters to ReportDocument but when the ReportSource is a Web Service (asmx) It always raise.
    For mor explaination:
    1- I create a report which has only one string field.
    2- The report has only one parameter string olso.
    3- I place the parameter in the page header.
    4- I create a new Crystal Reports Web Site from Visual Studio 2008.
    5- I add the report to the web site.
    6- I right click the report and choose "Publish as a web service"
    7- I create a windows forms application with CrystalReportViewer1
    8- In the form load I set the report source to the auto generated web service using this code only
    crystalReportViewer1.ReportSource = "http://localhost/ec/reports/CrystalReport1Service.asmx";
    Then I run the application.
    CR shows the parameters dialog then raises the exception.
    Also if i send the parameter using the crystal report viewer it gives the same exception!!!
    My question is If somebody try the steps above then tell me whether the exception is raised in his computer?
    Should I make special settings?
    Please help me. It is very simple steps. Just do it and tell me the results.
    Thanks in advance.

    I got the following with CR2008 SP2 .NET Runtime on Portuguese Windows 2003. It works fine on English OS though.  It seems to be the same issue. The reprot is still displayed, but the ToolBar has a red cross and is not usable. Is there an answer yet?
    EXCEPTION >>
    NullReferenceExceptionMessage: Referência de objeto não definida para uma instância de um objeto.
    Source: CrystalDecisions.Windows.Forms
    TargetSite: Boolean get_isDCP()
    StackTrace:
       em CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
       em CrystalDecisions.Windows.Forms.ParameterValueEditControl.Start()
       em CrystalDecisions.Windows.Forms.ParameterUnit.AddEditControl(ParameterValue pv)
       em CrystalDecisions.Windows.Forms.ParameterUnit.UpdateControls()
       em CrystalDecisions.Windows.Forms.ParameterUnit.set_ParameterFieldInfo(ParameterFieldInfo value)
       em CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowParameters()
       em CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowInteractiveParameters()
       em CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport()
       em CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(PaintEventArgs evtArgs)
       em System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
       em System.Windows.Forms.Control.WmPaint(Message& m)
       em System.Windows.Forms.Control.WndProc(Message& m)
       em System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       em System.Windows.Forms.ContainerControl.WndProc(Message& m)
       em System.Windows.Forms.UserControl.WndProc(Message& m)
       em CrystalDecisions.Windows.Forms.CrystalReportViewer.WndProc(Message& msg)
       em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: Frank88 on Oct 31, 2009 1:06 AM
    Edited by: Frank88 on Oct 31, 2009 1:16 AM

  • BAPI Web Service Context Mapping Problem

    Hello all,
                 I am developing a process consisting of an automated activity.
    This automated activity uses a logical destination for a web service call to an ECC BAPI.
    The BAPI name is 'BAPI_INQUIRY_CREATEFROMDATA2'
    Now the problem is the Output mapping in the automated activity which calls the web service for the above BAPI has the response name as 'BAPI_INQUIRY_CREATEFROMDATA2.Response'
    So when i try to map the nodes it gives me an error, 'Error at Line 2, Column 29, Found '.' after BAPI_INQUIRY_CREATEFROMDATA2'.
    Since there is no mapping i do not get the process working
    If i remove the '.' from the wsdl file source, mapping is done. But the backend service call gives an error.
    How can i solve this problem?
    Any inputs will be very helpful.

    Hello Martin,
                     thnks a ton for your replies.
    The '.' is a standard thing.
    Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
    Its what is standardly available. So i cant anything on that.
    And the response element is not below the bapi node.
    The name of the root node of the BAPI return context is
    "BAPI_INQUIRY_CREATEFROMDATA2.Response"
    This is what is causing the problem.
    Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

  • Hard-coding complex type web service parameter

    Hi,
    I am trying to populate a drop-down list with data returned from a web service. The web service requires one parameter, but it is a complex type with many elements. I don't need any user input, I want to set the the parameter values programatically. Is this something that can be done with a web service data control?
    I know that I can edit the action binding and specify a parameter, but I'm not sure how to do this when the parameter is a complex type.
    I hope I am explaining this in a way that makes sense. I am fairly new to both Jdeveloper and web services.
    I am using JDeveloper 11.1.2.0.0
    Thanks.

    Thanks for the link. The article is from 2006 and I was under the impression that there was more support for complex types now. Maybe in my case I am better off using a web service proxy?

  • Web service: parameter types

    Hi,
    We made an ABAP webservice with input parameters.
    In the WSDL the type of the parameters is:
    - <wsdl:message name="ZTestWebService2">
    <wsdl:part name="Costcenter" type="n0:char10" />
    The type ‘char10’ is defined like:
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    Question is: is there a way to influence the creation of this types, so that the type is not referring to ‘n0:char10’ but to something like ‘char’ and that the length is also defined in the part name ? Something that is more Java friendly and will not create code for complex types on the client-side ?
    Thanks,
    Rolf.

    HI,
    No u cant change this parameter dynamically after the release of web service.
    When u will release the webservice for a RFC,the WSDL file will be generated.That time it will generate the files for every parameter types which are used in the RFC.
    If u want increase this value length,Then u hv to increase the lenght of the parameter in RFC and then release the web service.So that it will come here.
    Bcause in webservice lenght will not allow more that the lenghth which u gave in RFC.
    Regs
    Manas Ranjan Panda

  • Web service request formatting problem

    I'm trying to create a few interfaces to work with some web services that we have published within our organization. Creating the web service reference seems to go fine. We had to work through the details of getting that working over SSL and we seem to have gotten past that hurdle.
    Problem is that when I either test the web service reference through the testing page of the Apex app builder or attempt to call the web service from a page built on the web service reference I'm getting an error indicating that the XML of the SOAP request isn't properly formatted. Specifically, it seems that Apex is inserting an extra double-quote at the end of each element tag for all the input parameters.
    So I have this:
    <SOAP-ENV:Header><ns1:parameters xmlns:ns1="urn:GetIncidentTest"><ns1:userName">
    Notice the double-quote at the end of the userName element tag.
    The error message says:
    Element type "ns1:userName" must be followed by either attribute specifications, ">" or "/>".
    So it's seeing the double-quote where it's not expected/supposed to be and returning an error.
    It would seem to me that Apex must be putting that extra double-quote in there at request time, since the web service definition (the WSDL) seems to return all the proper parameters all neatly layed out in the testing page and any other pages I build off the service definition.
    Anyone got any ideas on this?
    Earl

    Jeff,
    That text() thing came from the Oracle magazine example. I've been looking in the documentation for an explanation of what it's for but haven't had any luck finding anything yet.
    Here's a sample response
    <?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>
    <ns1:HelpDesk_QueryList_ServiceResponse xmlns="urn:Port"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns1="urn:Port">
    <ns1:getListValues>
              <ns1:Assigned_Group>Voice Services</ns1:Assigned_Group>
              <ns1:Assigned_Group_Shift_Name/>
              <ns1:Assigned_Support_Company>University of Utah</ns1:Assigned_Support_Company>
              <ns1:Assigned_Support_Organization>Office of Information Technology</ns1:Assigned_Support_Organization>
              <ns1:Assignee>JULIA JONES</ns1:Assignee>
              <ns1:Categorization_Tier_1/>
              <ns1:Categorization_Tier_2/>
              <ns1:Categorization_Tier_3/>
              <ns1:City>Salt Lake City</ns1:City>
              <ns1:Closure_Manufacturer/>
              <ns1:Closure_Product_Category_Tier1>Voice / Telephone Services</ns1:Closure_Product_Category_Tier1>
    <ns1:Closure_Product_Category_Tier2>Phone</ns1:Closure_Product_Category_Tier2>
    <ns1:Closure_Product_Category_Tier3>Coral</ns1:Closure_Product_Category_Tier3>
              <ns1:Closure_Product_Model_Version/>
              <ns1:Closure_Product_Name/>
              <ns1:Company>University of Utah</ns1:Company>
              <ns1:Contact_Company>University of Utah</ns1:Contact_Company>
              <ns1:Contact_Sensitivity>Standard</ns1:Contact_Sensitivity>
              <ns1:Country>United States</ns1:Country>
              <ns1:Department/>
              <ns1:Summary>Calling to outside numbers rings busy or just drops call</ns1:Summary>
              <ns1:Notes>Found trouble and corrected.  I will follow up with Cindy later today</ns1:Notes>
              <ns1:First_Name>CINDY</ns1:First_Name>
              <ns1:Impact>4-Minor/Localized</ns1:Impact>
              <ns1:Incident_Number>INC000000000230</ns1:Incident_Number>
              <ns1:Internet_E-mail>[email protected]</ns1:Internet_E-mail>
              <ns1:Last_Name>SOMEBODY</ns1:Last_Name>
              <ns1:Manufacturer/>
              <ns1:Middle_Initial/>
              <ns1:Organization/>
              <ns1:Phone_Number>888/555-6648</ns1:Phone_Number>
              <ns1:Priority>Low</ns1:Priority>
              <ns1:Priority_Weight>1</ns1:Priority_Weight>
              <ns1:Product_Categorization_Tier_1>Voice / Telephone Services</ns1:Product_Categorization_Tier_1>
         <ns1:Product_Categorization_Tier_2>Phone</ns1:Product_Categorization_Tier_2>
         <ns1:Product_Categorization_Tier_3>Coral</ns1:Product_Categorization_Tier_3>
              <ns1:Product_Model_Version/>
              <ns1:Product_Name/>
              <ns1:Region/>
              <ns1:Reported_Source>Other</ns1:Reported_Source>
              <ns1:Resolution>Misconfigured Trunk was corrected
    No futher reports of trouble</ns1:Resolution>
              <ns1:Resolution_Category/>
              <ns1:Resolution_Category_Tier_2/>
              <ns1:Resolution_Category_Tier_3/>
              <ns1:Service_Type>User Service Restoration</ns1:Service_Type>
              <ns1:Site>0523 Moran Phase II</ns1:Site>
              <ns1:Site_Group/>
              <ns1:Status>Closed</ns1:Status>
              <ns1:Status_Reason>No Further Action Required</ns1:Status_Reason>
              <ns1:Urgency>4-Low</ns1:Urgency>
              <ns1:VIP>No</ns1:VIP>
         </ns1:getListValues>
    </ns1:HelpDesk_QueryList_ServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>When I use the wrong node syntax I get an error saying that the node is invalid. However, when I set the xpath value to /HelpDesk_QueryList_ServiceResponse, with or without the /text() suffix I get the error I mentioned in my last post.
    Is that any more help? Sorry I'm such a noob with the XML stuff. I was hoping to avoid this level of detail by using the WSDL, but we already know that story. Thanks.
    Earl

  • ADFMobile - Web service data control problem for android

    Hi,
    I created an application for android and testing it on an emulator.
    I am able to create web service data control for a jax-ws web service. But when I invoke the web service and the call comes to the web service host, there are no namespaces in some of the parameters. Typically, the tags which do not have the namespace are complexTypes. All the values of the parameters come properly. I have tried executing the data control in three different manners but still no luck.
    AdfmfJavaUtilities.invokeDataControlMethod(..);
    AmxMethodActionBinding.execute();
    +#{bindings.invokeMethod.execute}+
    Thanks.

    Hi there,
    Can you try to generate a sample JAX-WS the generates a similar complex structure that can help you and us to isolate the issue? I created a jax-ws service using simple complex type on Ubuntu and also a client mobile application getting no problems running it. But, perhaps you are using a more complex structure, hence an standalone would be very useful.
    Juan C.
    Edited by: Juan Camilo Ruiz on Dec 10, 2012 4:00 PM

  • Web service client authentication problem

    I applied security role to deployed web services. When I use clientgen to generate client stub or using java client to get WSDL, I got authentication error asking for username and password.
    This only happens when I use import in my WSDL file to import other schema files. I think the authentication process happened when retrieving wsdl file, but not import schema files.
    Is this some kind of BEA bugs or known issue?
    Any advice is appreciated.

    Yes, this is a problem. It should be fixed in upcoming release. The work around is embeding the schema to WSDL or run clientgen against a local copy.

  • Web service client invoke problem

    Hi all,I want to in sap studio to develop web service client to invoke a .net webservice,this webservice  need authen ,so I develop a standandalone proxy to write a consle to invoke my code.
    The follwoing is my invoke  code
    public class WebServiceTest {
         public static void main(String[] args) throws Exception {
              GetScaVersion parameter = new GetScaVersion();
              ManagementSoap port = new ManagementImpl().getLogicalPort(); 
                        port._setProperty(port.USERNAME_PROPERTY,"administrator");
                        port._setProperty(port.PASSWORD_PROPERTY,"administrator");
              GetUserList list=new GetUserList();
              GetScaVersionResponse response= port.getScaVersion(parameter);
              System.out.println(response.getGetScaVersionResult());
              System.out.println(response.getAErrorMsg());          
    But final I got the following errors,
    Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    Error Message is :com/sap/guid/GUIDGeneratorFactory
    null
    Invalid UserName and Password
    so I just want to ask ,if the webservice is need to authen,does the following tow senteces works for authenciation ?
      port._setProperty(port.USERNAME_PROPERTY,"administrator");
      port._setProperty(port.PASSWORD_PROPERTY,"administrator");

    Hi,
    You need to set the credentials of the .net user.
    Also, which type of proxy have you created? Are you able to open the wsdl in the browser?.
    Thanks,
    Vasu

  • Web service url redirecting problem

    I am working on a form developed by LC Designer that will call a web service from our web server.
    In the WSDL, the soap address location points to www.domain.com/webservice1,
    however our web server will perform load balance by directing all www.domain.com to a new url
    either www1.domain.com or www2.domain.com.
    The result is that nothing is returned after executing the webservice call, I can't catch any error
    after xfa.connectionSet.WebServiceDC.execute(false); just nothing returns after the call.
    I suppose it is the problem that the url has been redirected to a different one.
    However if the soap address location points directly to either www1 or www2, the call returns result alright.
    Is there way or script that I can handle by redirecting a web service to a different URL like that in Adobe Flex?
    That is what I found from the web for Adobe Flex :
    public function onLoginResult(event:ResultEvent):void {
    //Extract the new service endpoint from the login result. 
    var newServiceURL = event.result.serverUrl;
    // Redirect all service operations to the URL received in the login result. 
        serviceName.endpointURI=newServiceURL;
    Best Rgds.

    A helpful poster on the House of Fusion forums pointed me to
    a work-around:
    Apparently ColdFusion just uses the WSDL to create the sub
    objects for the web service call, so as long as there is a service
    port address secified in the WSDL it doesn't matter where the
    actual WSDL file sits. So I just downloaded the WSDL using CFHTTP
    (had to use this article to configure CFHTTP for HTTP Compression:
    http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729)
    and then I pointed my CF Administrator to the WSDL on my local
    machine. And Presto - I can connect to the web service no problem
    now.
    Only problem is that I have to download the WSDL every time
    there is a change to the webservice, but I can schedule a task that
    downloads the file once a week or so.

  • Web Service - SSL handshake problem

    I'm trying to stabilish a SSL connection to Web Service using the Jakarta AXIS WebService (client) API in WAS environment.
    And sometimes i got the follow stacktrace:
    ; nested exception is:
         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
    Does someone have any tip to help me solve this problem?
    Thank you.

    Hi,
    you will have to import the server SSL certificate from the webservice into you client. To do this, you will have to import it into the keystore of your client.
    br,
    Tobias

  • Web service date format problem

    Hi, I am using a web service from another R/3 server. Its date format is like this..
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
    when I created a Proxy class, the date field  length is 8.
    I write my code and tryed execution. Its not giving any result and no exceptions also.
    I think the problem is with Date field..
    Suggest me how to solve this problem.
    Regards,
    Dhanunjaya Reddy

    Hi Dhanunjaya,
    If you are calling web service from your code, then it is executing like this->
    Your Code--> Proxy---> Already existing web service
    You are making  a call to proxy, not to web service directly.
    And in proxy it is defined as type D( with length 8) which is equivalent to YYYYMMDD.
    So try passing the value  YYYYMMDD(eg 20070505) from your code.
    Regards,
    Piyush
    YYYYMMDD

  • Web service client JAR problem

    I have a .NET Web Service and I made a client JAR with the WebLogic Workshop. When I try to have data from the Web Service the WebLogic console shows me this error
    web service invoke failed: javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/JobPosting/FacadeJobPosting']:getCountries}; nested exception is:
         javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/JobPosting/FacadeJobPosting']:getCountries}
    If want to know in which layer is the problem or what is the problem.
    Thanks

    I'm only just scrapping on the surface of SOAP myself, but I have a little Java knowledge.
    I think your error message is saying, that your trying to send a java object over SOAP to the other computer, but this object has not implemented the serialize interface (where objects are written and extracted to a stream)
    Just a thought I could be wrong - but have a look at what object is being sent over SOAP - is it a custom object? does it need to implement serialize?
    Good luck
    martin

Maybe you are looking for

  • DVD drive does not play some DVDs properly

    Hi, My Macbook was purchased in 2007; So it is a bit old. I haven't used the DVD drive very often. I bought two new DVDs from Amazon recently. However, when I played them in my Macbook using DVD Player, the disk pauses and skips very often, making it

  • What is included in the "iPod Universal Dock Adapter 3-Pack for iPod touch (4th generation)"?

    What's in the box? Is it a small dock you can rest and charge your iPod on, or is it simply an adapter for the £50 Apple Universal Dock? Please reply I'm really confused!

  • "View in Place" inline images and PDFs in Yosemite Mail

    I'd like to have the "View in Place" option available for images and PDFs, but it appears to be missing in Yosemite Mail. It would be particularly helpful with this new Markup feature. Any ideas how I might do this?

  • Oracle 9i to 10g

    Dear all, i need to upgrade a database from oracle 9i to oracle 10g but on the different server running on windows nt server and windows 2003 respectively. how should i do?

  • Why is restoring iphone from back up taking so long?

    why is restoring iphone from back up taking so long?  i'm updating the software on my iphone 4 and started it yesterday... then my imac goes to sleep and not sure if the update is continuing... it says time remaining 31 minutes... then 33... 35... 37