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

Similar Messages

  • Web Service deploy error

    Hello everyone!
    I've created a Web Service from a VI. This VI has two inputs values: a String and and Int8 and one single output: an array of DBL values (array of 1x3). Both inputs and outputs are well connected through the Connector Pane.
    So, in the Project>> Build Spedifications I've created WS, builded with the Advanced>> Use LabVIEW 8.x file layout option checked, in the WebService(RESTful) settings dialog. The problem appear when I try to deploy this WS. The next error is shown:
    Error LabVIEW: (Hex 0xFFFEF84D) LabVIEW Web Services: An error occurred when extracting the deployed Web service. Rebuild the Web service by selecting the "Use LabVIEW 8.x file layout" option in the Advanced tab of the web Service properties dialog.
    How can I solve this problem?
    Thank you!
    Francisco José Gómez López
    Software Engineer
    Solved!
    Go to Solution.

    This is exactly what I've done! I build my web services with this option checked. I don't know the reason why the error still persist.
    I attach a zip file containing the Web Services VI and other VI needed. If you coult try to build the WS and deploy it...
    Francisco José Gómez López
    Software Engineer
    Attachments:
    VIasWS.zip ‏138 KB

  • Web services build error

    Hi All,
    I have created and deployed a Java web service banking project now i want use this web services methods into .net clint. For that in .net peoples able to see the list of web services mathods when they are use those methods they face the problem like "Web services build error...". But when the java clint call the same web services methods it works fine.
    Im tired to resolved this problem please any one tel me how to resolve this problem.
    Thanks,
    kalyan N

    Both. I deployed the application under the IAS (902) and a standalone (903)environment. The IAS (port 7777) an the standalone oc4j (port 8888) is running with the same error.
    P.S. The server is down today for hardware technical reasons

  • Web Service Task Error

    Hi, After successfully testing connection to my source web service, while executing my web service task, I face the following error. Can anyone help me????
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not load the proxy for the specified Web service. The error is: Could not load file or assembly
    'iiglotg3.dll' or one of its dependencies. Access is denied..
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.loadProxyInAppDomain()
       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()".
    Regards,
    Njdeh Tahmasian

    Could not load file or assembly 'iiglotg3.dll' or one of its dependencies.
    Access is denied..
    Looks like a permission issue or maybe the assembly don't exists on the server where the package is running; you should check that first.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Web service task: Error when returning an empty array

    Hi,
    I've encountered an annoying error when using a Web Service Task from an SSIS package in SQL Server Data Tools.
    [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: Index was outside the bounds of the array..
       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()".
    It seems that the Web Service Task generates this error when returning an empty response from the WSDL. I've seen several topics about this here on MSDN but they are all from 2008-2009 and seem to suggest that
    this is a bug.  The workaround suggested is using a script task but I would really love to avoid that since my programming skills are lacking.
    I'm using Visual studio 2010 with SP1.

    Hello,
    From my own experience: in all the cases where I had to use SSIS 2008 to retrieve data or send data to Webservices, I had to revert to using Script Tasks or Script components. Whenever I tried with a Web service task, because the job looked simple, I had
    to abandon it in favour of Scripts. Keep in mind that I try to make use of the SSIS components as often as possible, before reverting to Scripting. But handling web services is the one exception, where I always use scripts. In SSIS 2012 I did not find
    any significant improvement of the Web service task and hence no compelling reason to use it.
    Jan D'Hondt - SQL server BI development

  • SSIS Web Service Task Error with WCF Service

    I have read all the other posts on this site and have not been able to resolve my issue.
    For testing purposes i created a very simple WCF service that takes no arguments and returns true.  That is all it does.
    When i create a winform client and instantiate the service i can run my service method and get true back so i know the service works.
    I then create a test SSIS package with 1 task, a web service task. 
    I set the web service tasks properties as follows:
    http connection: http://localhost/WCF_SSIS_Prototype/Service1.svc
    wsdl file: C:\...\SSIS_WCF_Prototype\Service1.wsdl  (I know this is not a valid path, i changed it for posting to forum)
    Service: Service1
    Method: GetData
    Variable: User::BResult
    When i run the package i get the following error:
    [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: Method 'ProxyNamespace.Service1.GetData' not found..    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)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I'm not sure why it is saying "Method 'ProxyNamespace.Service1.GetData' not found.  It the web service task trying to create a proxy class and naming the proxy class namespace ProxyNamespace? 
    Any help is greatly appreciated.

    Hi,
    How  do you get around the same issue if your string type is based on a client token ?  I downloaded the .wsdl file, was able to see the service name, method and when selecting a method type, I am required to provide a client token which was given
    to me.  (Name column = clienttoken, Type = string, Value = 2227656 - ec8922 (client token numbers goes there)?  I am new to use ssis and need your help please
    error message:  Web Service Task] Error: An error occurred with the following error message:
    "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The web serrvice threw an error during method execution. The error is: An error occurred
    when verifying security fro the message..   
    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) 
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"
    Thank you and regards,
    Bili

  • An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:null

    Hi I m getting the below wxpection when i run test browser from workshop. please help me.
    An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:null

    Thamarai,
    Can you provide more information on your jws ? Also can you start the server
    from the command line with verbose option. This will cause
    weblogic_debug.log to be generated in the domain folder.
    Raj Alagumalai
    Backline Workshop Support
    "Thamarai Selvan" <[email protected]> wrote in message
    news:[email protected]..
    Hi I m getting the below wxpection when i run test browser from workshop.please help me.
    >
    An unexpected exception occurred while attempting to locate the run-timeinformation for this Web Service. Error:
    java.lang.reflect.InvocationTargetException:null

  • Invalid Web Service URL Error

    I am trying to access define a new webservice system using the WSDL for my local queryview web service.  When I put in the WSDL URL it comes back with a "Invalid Web Service URL" error.  If I put the URL in the Browser address, it successfully brings back the web service information.  Any ideas why I can't define this web service system?
    http://<server>:8001/sap/bw/xml/soap/queryview?sap-client=040&wsdl=1.1
    <server> is a token for posting concerns...
    Thanks!

    I am imagining that the BW QUERY_VIEW_DATA web service complies to the Basic Profile 1.0. 
    And I don't quite understand this part?
    <i>In addition, connections to Web services for SAP backend systems must be performed via logical destinations (configured in the SAP J2EE engine with the Visual Administrator) and not via portal systems</i>
    Since the QUERY_VIEW_DATA Web Service resides on my BW system is the BW system considered a SAP backend system?  Any guidance is greatly appreciated.

  • "invalid web service URL" error for create web service system

    Hi.
    I want to call web service in visual composer and try to create Web Service definition.
    When I push create button in visual composer, I got "invalid web service URL" error.
    My web service is located in SAP ABAP System and I can check WSDL URL in web service homepage.
    (http://mycompany.com:8000/sap/bc/srt/rfc/sap/ZTEST?sap-client=500&wsdl=1.1)
    Any ideas for this error ?
    Regards, Arnold.

    Hi
    Please can you create the web service in the portal as a portal system, this will work and you will be able to see the service in Visual Composer.
    Jarrod Williams

  • Cannot enable HP Web Services: "Connection error. Check Internet connection."

    Hello,
    I have a problem with LaserJet setup using Wi-Fi network from windows 7 and 8. The problem as far as I understand is due to inaccessible HP Web Services.
    Details:
    1, The printer works good by USB.
    2. The printer is correctly configured to use Wi-Fi router with right password.
    3. It can be successfully ping'ed from Windows
    4. In Web browser I can enter on printer's IP
    (Serial Numbers are hidden as you recommend, firmware updated)
    4. But when I try to Enable HP Web Services, an error message appears:
    which is strange, because the printer is connected to the same router as the computers and other devices  with automatic configuration (and internet is available without any proxy when I am typing this message):
    Please help to resolve this issue.
    Thanks,
    Fedor

    Thanks for clarifying Fedor,
    HP Web Services are not related to the pritner installation over the local network, those are two different features.
    However that may indicate a nework issue.
    First try running the HP Print & Scan Doctor below on one of your PCs:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=us&lc=en&jumpid=ex_r4155/hho/ipg/ccdoc/p...
    Does the tool can see your printer throught eh local network?
    By clicking the top Network menu and Troubleshoot Firewall, what Firewall software is detected on your system?
    Try disabling it and check if that may help.
    From teh top Network menu select Show Advanced Information.
    What is the IP address of your PC?
    I also suggest rebooting the router by unplugging its power for a moment, then reboot the printer and try installing it again.
    If the issue persists, what is your router model?
    May you see any difference by connecting the printer to your router with an Ethernet cable?
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Web Service SOAP Error

    Hello,
    I created a form and report on a Web Service. When I enter parameter values and submit, I receive the following error. This is the first web service form I've created and I could use some direction on how to trouble shoot this error.
    ORA-20001: soap:Server Server was unable to process request. --> <SystemError errorcode="12" ><![CDATA[ *******Begin Facets Defined Data******** File: ErSysaClsBrokerRegion.cpp Function: ErSysaC
         Error      Error sending request.
    OK      
    Thanks,
    Matt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    I am still facing the same problem. Did you find a solution to this issue?
    Thanks a lot in advance.
    Regards,
    Sven

  • BODS SOAP Web Service Connection error RUN-248005

    Hi Experts,
    I need help connecting SOAP web service to BODS. We have configured the initial set up by importing the functions from the WSDL that was provided to us. The WSDL provided us with a request and reply schema as follows:
    We then created the data service job that would consume the function call. An overview of the dataflow is as follows:
    When we run the job with null values for the source table the job returns no errors, but returns no data either into the destination table (Which we think is to be expected because we have no parameters to search on). If we add a value to the source table that is a required field for WSDL GET function (sys_ID) the job runs, but produces the error shown below:
    We configured the data flow by using a reference document that can be found at this link: http://www.dwbiconcepts.com/etl/23-etl-bods/158-web-service-call-in-sap-data-services.html.
    Any help in regards to why we are getting a “No response to web service error” would be much appreciated! Also, if further detail is needed please feel free to ask.

    Yes we did make progress. Follow the steps listed below.
    Pre-Configuration
    A WSDL for BODS can be provided from your vendor (Amazon or Twitter) or created in-house.  In my tutorial I will be using ServiceNow.  ServiceNow is a platform-as-a-service (PaaS) provider of IT service management (ITSM) software.
    The WSDL provided should look like this:
               https://<instance>.service-now.com/incident.do?WSDL
    To verify that the WSDL works you can open it in a browser to see the xml schema.  Since the WSDL is HTTPS the browser will prompt you to enter credentials in order to view it.  The username and password will need to be provided to you from vendor you are trying to connect to.
    BODS requires that any web service connection that is https to have a certificate saved to its internal configuration on the job server where the application resides. The certificate is referenced when the call goes out to verify authentication. 
    You can get the server certificate from the vendor who is providing the web service or you can also download the certificate from the browser and save it in base64 binary encoded format to a file and use that.  In my example I will be using Firefox to export.
    if you have fire fox, then on the left side before the URL Address bar there will be a lock icon, click on view certificate, select the details tab, select the *.service- now.com  and click on export, in the dialog box, select the Save as type X.509 Certificate (PEM), you can save this with any name on your machine.
    Now go to the JobServer machine, go to %LINK_DIR%\ext\ folder, open axis2.xml in notepad,
    since it's https uncomment the following tag (transportReceiver)
    <!--transportReceiver name="https" class="axis2_http_receiver">
    <parameter name="port" locked="false">6060</parameter>
    <parameter name="exposeHeaders" locked="true">false</parameter>
    </transportReceiver-->
    it should look line something below
    <transportReceiver name="https" class="axis2_http_receiver">
    <parameter name="port" locked="false">6060</parameter>
    <parameter name="exposeHeaders" locked="true">false</parameter>
    </transportReceiver>
    uncomment the following tag (transportSender) and comment out the parameter KEY_FILE and SSL_PASSPHRASE, enter the complete location of the certificate that you saved from the browser in the SERVER_CERT parameter. you can save the certificate also in this folder
    <!--transportSender name="https" class="axis2_http_sender">
    <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
    <parameter name="xml-declaration" insert="false"/>
    </transportSender>
    <parameter name="SERVER_CERT">/path/to/ca/certificate</parameter>
    <parameter name="KEY_FILE">/path/to/client/certificate/chain/file</parameter>
    <parameter name="SSL_PASSPHRASE">passphrase</parameter>
    -->
    this should look like
    <transportSender name="https" class="axis2_http_sender">
    <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
    <parameter name="xml-declaration" insert="false"/>
    </transportSender>
    <parameter name="SERVER_CERT">enter the certificate path</parameter>
    <!--parameter name="KEY_FILE">/path/to/client/certificate/chain/file</parameter-->
    <!--parameter name="SSL_PASSPHRASE">passphrase</parameter-->
    save this file and open this file is browser to make sure that the XML is valid
    ****How to set up multiple axis files****
    Creating a Datastore
    Select Project -> New- >  Datastore
              Datastore name: Applicable Name
              Datastore Type:  Web Service
              Web Service URL: https://<instance>.service-now.com/incident_list.do?WSDL
              Advance <<
              User name: *****
              Password: ******
              Axis2/c config file path: \Program Files (x86)\Business Objects\BusinessObjects Data           Services\ext\Service_now

  • Web Services Date  Errors

    hi, recently i code a web service as below
    public boolean createNew(String staffID,
    Date startDate,
    Date endDate){
    <code to add to database>
    return true
    but the problem is when i try to consume the web service
    it will auto fill the startDate and endDate with this data
    startDate: "2008-01-30T10:00:50.342Z"
    endDate: "2008-01-30T10:00:50.342Z"
    so may i know issit possible to change it to just only accept 2008-01-30? or as this format YYYY-MM-DD.
    or i should not use Date for startDate and endDate?
    Regard
    Jia Jun

    Hi Siva,
    may i know how to do it?
    as i did try to code in the begining by using String for my startDate and endDate. and it is able to consume, but currently if i change the startDate and endDate to Date. it is still able to consume when i change the date from "2008-01-30T10:00:50.342Z" to just "2008-01-30". but when i try to use adobe interactive form. the startDate and endDate i am using the Date/Time Field Type. and the Data Format is as Date. so it will just return "2008-01-30" only.
    the part where i have error is when i try to do a parameter mapping from the interactive form to the web service. it is unable to map as they keep prompting that cannot map a Date to a Time Stamp.
    that is why i stuck at this part.. so i try to find out how to overcome this errors now..
    Regards
    Jia Jun

  • Pl/sql Web service deployment error

    While deploying the GetEployee webservice as given in the Jdeveloper tutorial, i got the following error. Kindly those who worked on this may reply
    ---- Deployment started. ---- Dec 6, 2006 5:04:26 PM
    Target platform is Standalone OC4J 10g 10.1.3 (AppServerConnection1).
    Wrote WAR file to /home/oracle/jdevhome/mywork/PL_SQL_WS\GetEmployee/deploy/WebServices.war
    Wrote EAR file to /home/oracle/jdevhome/mywork/PL_SQL_WS\GetEmployee/deploy/PL_SQL_WS-GetEmployee-WS.ear
    Uploading file PL_SQL_WS-GetEmployee-WS.ear ...
    Application Deployer for PL_SQL_WS-GetEmployee-WS STARTS.
    Copy the archive to /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear
    Initialize /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear begins...
    Unpacking PL_SQL_WS-GetEmployee-WS.ear
    Done unpacking PL_SQL_WS-GetEmployee-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear ends...
    Starting application : PL_SQL_WS-GetEmployee-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : PL_SQL_WS-GetEmployee-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application PL_SQL_WS-GetEmployee-WS to site default-web-site under context root PL_SQL_WS-GetEmployee-context-root
    Operation failed with error:
    Error compiling :/home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices: Error instantiating compiler: Web service artifact generation failed:oracle.classloader.util.AnnotatedClassFormatError: hrconn/EmpRecBase (Unsupported major.minor version 49.0)
         Invalid class: hrconn.EmpRecBase
         Loader: PL_SQL_WS-GetEmployee-WS.web.WebServices:0.0.0
         Code-Source: /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices/WEB-INF/classes
         Dependent class: oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer
         Loader: oracle.ws.client:10.1.3
         Code-Source: /home2/u01/app/oracle/product/10.1.0/jdeveloper/webservices/lib/wsclient.jar
         Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/oc4j.jar
         This class was compiled for a newer version of the JRE. Expected version 48.0, found 49.0.
    Deployment failed
    Elapsed time for deployment: 41 seconds
    #### Deployment incomplete. #### Dec 6, 2006 5:05:07 PM
    Bhaskar

    Which JDK version are you using?
    JDeveloper 10.1.3 (and OC4J 10.1.3) requires JDK 5.0 to run.

  • Invoke a Web Service - 401 Error - Authentication?

    I've been through the Integrator's Guide for Oracle Business Intelligence Enterprise Edition, attempting to setup Action Framework so we can use OBIEE to push data to Sharepoint 2011.
    I came across the article below and found it to be helpful in getting past the first hurdle which was identifying why the actionframeworkconfig.xml file was not being read properly.
    ActionFrameworkConfig.xml structure changed from 11.1.1.5 to 11.1.1.6
    I am working in 11.1.1.6.
    The concern or question I have is I am attempting to access a WSDL from Sharepoint that does not allow annonymous access. I take the steps below and get the error 'HTTP connection error code is 401'.
    1) Choose under Create... 'Action' from within OBIEE 11g
    2) Pick 'Invoke a Web Service'
    3) In the WSDL URL field, populate it with the path for the Sharepoint WSDL.
    a. https://sharepointhost/_vti_bin/Lists.asmx?WSDL
    4) Choose 'Open'
    5) Receive error.
    So my question is, is there a way to control the authentication here?
    Thank you in advance.

    First you map your service .wsdl file in the external resources as a WebService.
    Create a module in your Catalog and right click >> Catalogue Component >> Web Service
    Then you call it like it was an object in your code...
    String result = MyService.returnMeAString();
    logMessage(result);

Maybe you are looking for

  • ITunes 10.6.1 Crash

    I had previously reported iTunes 10.6.1 hanging with spinning beachball when attempting to sync with iPhone or iPad, and after reinstall of 10.6.1, hanging after about a minute of running. I was able to talk tonight with a Senior Apple Tech Support p

  • I had to restore my computer that i had Itunes on and reinstalled itunes.

    I had to restore my computer to factory. Then I re-installed Itunes. Now every I pod is prompted to remove everything, erase it and start again. It is the same computer, Itunes logins, ect. Is there some other way than to erase all of our playlists,

  • What if i can't find the xprotect.meta.plist file?

    So, there's a lot of this going on today.  I'm on OS X 10.6.8 and still running Java 6, but getting the inactive plug in screen and nothing coming up in the software updates.  I've removed it an reinstalled it, but it's still a no go. SO I think I ma

  • How to execute an JS function OnRefresh or change in data of Analysis item

    Hi Friends, I want one my java script method to be executed when the data displayed in the Analysis Web Item is changed. So can any body suggest me how to achieve this. Thank You

  • SQL 2008 SP2 installation

    Dear Experts,          We recently under gone SAP Post go-live check. In the report SAP suggested for database patch updation.i am using standalone server,my SAP application is CRM 7. and database SQL 2008 SP1. I plan to install SQL 2008 SP2 . please