Getting error System.Web.Services.Protocols.SoapException: Server did not r

I am trying to acces my web service using this code
Call call = new Call ();
SOAPMappingRegistry soap = new SOAPMappingRegistry();
call.setTargetObjectURI ("http://tempuri.org/");
call.setMethodName ("EarnNValue");
Vector params = new Vector ();
params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
call.setParams (params);
Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
if (resp.generatedFault ())
Fault fault = resp.getFault ();
System.out.println (" Fault Code = " + fault.getFaultCode ());
System.out.println (" Fault String = " + fault.getFaultString ());
else
Parameter result = resp.getReturnValue ();
System.out.println (result.getValue ());
out.println (result.getValue ());
and i am getting the the following error
Fault Code = soap:Client
Fault String = System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org//EarnNValue.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
Please help.
Thanx
GB

<%@ page language="java" import="java.util.*, java.io.*, javax.mail.*, java.net.*, org.apache.soap.util.xml.*, org.apache.soap.encoding.soapenc.BeanSerializer, org.apache.soap.encoding.*,org.apache.soap.*, org.apache.soap.rpc.*"%>
<%
try
out.println ("Starting");
System.out.println("heree");
Call call = new Call ();
System.out.println("here");
SOAPMappingRegistry soap = new SOAPMappingRegistry();
call.setTargetObjectURI ("http://tempuri.org/");
call.setMethodName ("EarnNValue");
call.setEncodingStyleURI("http://schemas.xmlsoap.org/soap/encoding/");
Vector params = new Vector ();
params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("category_id", String.class, "club",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("transaction_date", String.class, "16/07/04 14:41:20",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("parameter_id", String.class, "login",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("parameter_value", String.class, "1",Constants.NS_URI_SOAP_ENC));
call.setParams (params);
Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
if (resp.generatedFault ())
Fault fault = resp.getFault ();
System.out.println ("Something is wrong");
System.out.println (" Fault Code = " + fault.getFaultCode ());
System.out.println (" Fault String = " + fault.getFaultString ());
else
Parameter result = resp.getReturnValue ();
System.out.println (result.getValue ());
out.println (result.getValue ());
catch (Exception e)
System.out.println ("********Exception*******");
System.out.println (e);
out.println ("Ending");
%>

Similar Messages

  • System.Web.Services.Protocols.SoapException When Accessing Reporting Services

    Hi. I have inherited a client's mission critical database + SSRS project that I am attempting to migrate from 32-bit SQL Server Express 2005 + SSRS on a Windows Server 2003 to 64-bit SQL Server Express 2008 R2 + SSRS on a Server 2012 R2 Essentials.
    While I am not skilled in SQL Server I am having to learn quickly(!) and have managed to migrate the database and web application (with little change, apart from the web.config) and it is working fine. I have also migrated the SSRS database and can open
    the Report Manager and generate reports OK.
    However, the database's web application fails with a "Server Error in '/' Application" when it is used to generate a PDF report, with this exception:
    System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render
    (full text of error message given below).
    My research has thrown up a few references to this, with the suggestion of changing the SSRS endpoint used by the code from ReportService.asmx to ReportService2010.asmx. This does not help, though, and neither does using the ReportService2005.asmx or ReportExecution2005.asmx
    endpoints.
    If I open the endpoint directly in a web browser using http://<ip address>:<port>/ReportServer/ReportService2010.asmx then it displays a sensible-looking XML document tree (but no associated style info).
    I'm not really sure about where to go from here. Can anyone help?
    PS: Here's the full error page referred to above:
    Server Error in '/' Application.
    System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SoapException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +413241
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
    AuditecSite.ReportService.ReportingService.Render(String Report, String Format, String HistoryID, String DeviceInfo, ParameterValue[] Parameters, DataSourceCredentials[] Credentials, String ShowHideToggle, String& Encoding, String& MimeType, ParameterValue[]& ParametersUsed, Warning[]& Warnings, String[]& StreamIds) +203
    AuditecSite.RenderToPDF.RendertoPDF_PreRender(Object sender, EventArgs e) +1040
    System.Web.UI.Control.OnPreRender(EventArgs e) +11143742
    System.Web.UI.Control.PreRenderRecursiveInternal() +108
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8010
    Steve.

    Hi
    Check SAP Note 701467  for error CX_INVALID_TRANSFORMATION
    SAP Note 773330 Incorrect exception for CALL TRANSFORMATION
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_aba/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373031343637%7d
    Refer this link too
    CALL TRANSFORMATION
    may get some help
    Regds
    Nidhi

  • Azure System.Web.Services.Protocols.SoapException

    I use a web service on a server and it works OK. Now I want to transfer my site to an Azure server. For now I created a free web site on azure to test it.
    It is a Silverlight application that calls a service to create a report.
    When I call this service I have the following error
    error:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.ArgumentException: Parameter is not valid.
    at System.Drawing.Graphics.GetHdc()
    at C1.Util.FontSubSet.#e.#cA.#Kn(FontSubSet owner, String tableName)
    at C1.Util.FontSubSet.GetFontTableStream(String name)
    at C1.Util.FontSubSet.#TDd()
    at C1.Util.FontSubSet.Init()
    at C1.Util.FontSubSet.GetFontSubSet(FontKey fk)
    at C1.C1Preview.C1PrintDocument.#ydd(String s, String fontName, Boolean fontBold, Boolean fontItalic, Boolean updateDocumentFonts)
    at C1.C1Preview.C1PrintDocument.#zdd(String s, String fontName, Byte fontCharSet, FontStyle fontStyle)
    at C1.C1Preview.RenderText.InternalResolvingFinished()
    at C1.C1Preview.RenderObject.ResolvingFinished()
    at C1.C1Report.Layout.RenderDirect(ILengthCacheProvider lcp, RenderObject ro, RenderFragment rf, Double x, Double y, Double width, Double height)
    at C1.C1Report.Layout.RenderDirect(ILengthCacheProvider lcp, RenderObject ro, RenderFragment rf, RectangleD bounds)
    at C1.C1Report.Field.#RLd(ExportFilter export, Layout layout, RectangleD bounds, String str, Boolean rtf, Double lineWidthTw, Int32 firstCharIndex, Int32 length)
    at C1.C1Report.Field.Render(Layout layout, Double x, Double y, Boolean measure)
    at C1.C1Report.Field.Render(Layout layout, Double x, Double y)
    at C1.C1Report.Section.Render(Boolean keepPage, Group ownerGroup)
    at C1.C1Report.Layout.#fMd(Section s)
    at C1.C1Report.Layout.StartDoc()
    at C1.C1Report.C1Report.RenderFirstPass(Boolean releaseDocument)
    at C1.C1Report.C1Report.#fNd()
    at C1.C1Report.C1Report.#dNd(ExportFilter filter, Boolean reuse)
    at C1.C1Report.C1Report.RenderToStream(Stream stream, FileFormatEnum fmt, String idPrefix, String fileName)
    at C1.C1Report.C1Report.RenderToStream(Stream stream, FileFormatEnum fmt)
    at Gestion1.Web.RapportS.GetReportCommunique()
    --- End of inner exception stack trace ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope> `

    Based on the provided stack trace it looks like you are attempting to run report tools from ComponentOne on the server.
    The issue is caused by access to APIs that are restricted from use by Azure Web Site instances for security and performance reasons. The native GDI rendering methods are among these restricted APIs.
    See the post from Jim Cheshire towards the end of this
    post.
    Until and unless these restrictions are relaxed (which they may not be) your options are to move the service to a Cloud Service instance, or move to another component that does not use native GDI methods to render.

  • System.Web.Services.Protocols.SoapException: CX_INVALID_TRANSFORMATION

    Hi all,
    i have a problem with a service.
    In the "old" systems WITHOUT Soamanager the service works fine.
    Now the service throws the following exception:
    System.Web.Services.Protocols.SoapException: CX_INVALID_TRANSFORMATION:An exception with the type CX_INVALID_TRANSFORMATION occurred, but was neither handled locally, nor declared in a RAISING clause.The transformation /1BCDWB/WSS0071002102836497005 could not be executed at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at C9X.ZWS_PASSWORD.ZUResetSapPassword(ZUResetSapPassword ZUResetSapPassword1) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ajaxenabledwebsite1\155921d1\5360ddf9\App_WebReferences.mlueh3hc.4.cs:line 49 at _Default.ResetUserPasswd(String sapUserName, String eMail, String sapLanguage, String sapSystem) in c:\AJAXEnabledWebSite1\Default.aspx.cs:line 326
    I have configured the logical port in soamanager and i can't find the error....
    Any ideas?
    regards

    Hi
    Check SAP Note 701467  for error CX_INVALID_TRANSFORMATION
    SAP Note 773330 Incorrect exception for CALL TRANSFORMATION
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_aba/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373031343637%7d
    Refer this link too
    CALL TRANSFORMATION
    may get some help
    Regds
    Nidhi

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

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

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

  • System.Web.Services.protocol.SoapHeaderException

    I created a web service using java, with NetBeans 5.0. I used sun application server. Then I create Microsoft C# web service client in order to connect to the java web service. When I connect it I got following Exception called , System.Web.Services.protocol.SoapHeaderException. JAXRPC Internal Server Header
    Please give some idea to resolve this exception.
    My Email is : [email protected]

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

  • HT201210 Trying to restore ipod and keep on getting error message: the ipod software update server could not be contacted. the network connection was reset

    Hello can someone please help? Trying to restore ipod and I keep on getting error message: The IPod software update server could not be contacted. The network connection was reset. Make sure your network is active and try again.

    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • Please help  I am suddenly getting the following on my calendar  The server did not recognize your user name or password for account "..." Make sure you enter them correctly.  I depend on it for work

    Please help  I am suddenly getting the following from my calendar  The server did not recognize your user name or password for account “...” Make sure you enter them correctly.I have even tried changing the password and no luck.  I depend on it syncing with mobile me and my phone and I need it for work.

    I have been having the same issue but I think I fixed my problem.  In iCal, click iCal, Preferences, Accounts and retype your password.  That seems to have done the trick for me as far as I can tell.

  • Getting error message "The ipad software update server could not be contacted. You do not have enough access privleges for this operation" When trying to restor ipad mini

    When I try to restor my ipad mini I get the error message "Te ipad software update server could not be contacted. You do not have enough access privleges for this operation."  Please help!!

    I also have same problem i dont knw what to do ???????????????? have u got any solution >>????

  • Error running Web Services in DEMO : User is not Authorized error

    Hi all,
    We created a Web Service in our DEMO installation of ERP9 Tools 8.97, Database Local SSE (User - DEMO, Password-DEMO). The Web Service is using JDE Vanilla BSFN - B0100021 - Formatted Address and created through JDeveloper using JDE BSSV tool.
    When we are running the Web Service (TestCustomWebService) from JDeveloper (Right Click and Run) it is providng an url (http://moequbal:8988/context-root-JP55HOL/TestCustomWebServiceSoapHttpPort) and when we are pasting the URL in the browser and entering a valid value in the Input field and pressiing the 'Invoke' Button, the following Error pops up -
    "<env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://oracle.e1.bssv.JP55HOL/types/">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (Caught exception while handling request: oracle.e1.bssvfoundation.exception.E1AuthorizationException: User is not authorized to invoke this published business service)</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>"
    Please help.
    Thanks,
    Tufan

    I can confirm that the lab and BSSV functionaly works in DEMO, I have it working nicely. However, I dont think you can deploy this to a Business Services server. I haven't tried as yet. but you can test all the published BSSV via jDeveloper to verify that you have the correct code. It starts O4CJ and web services locally and brings up an input web page to enter the AN8, the data outputs to XML.
    Tip:
    1) Make sure that you have an entry in the P00950 security workbench. .
    2) make sure that you select the BSSV item (i.e CustomAddressManager) and select 'set to publish' available (this only appears on checkin) when you check the object in. Make sure that you have entries in the F98601, 602, 603 tables in Object Librarian
    3) Open P00950 select published bssv, click on the grid line (1st column) in the grid form of W00950X click the searchlight, in W00950U hit find you must see your published BSSV in here.
    if not you go back to step 2. You must 'set to publish' for the bssv i.e CustomAddressManager object. Otherwise you will not be able to see in the W00950U form.
    4) Repeat for the 2nd column and Make sure you select the 'Secure by Method' this will take you to W00950Y form and you must select your bssv and select the 'Allow Execute' on the bottom of the form.
    Once you have these in place then you will not get the 'Not authorized' error messages.
    Christopher Koloszar
    JDE Senior Business Analyst
    Oracle 10g DBA
    [email protected]
    Edited by: user3025204 on 15-Oct-2009 02:00

  • BPEL Web Service with OWSM Server Agent  NOT AUTHENTICATING

    I have deployed OWSM Server Agent to enable WS-Security Username/Password Authentication following the steps in the below URL.
    http://www.oracle.com/technology/obe/fusion_middleware/owsm/secure%20soa/securing%20soa%20with%20owsm.htm
    Section: Creating and Installing an Oracle WSM Server Agent
    The OWSM agent configuration is working fine with individual Web Services.
    For BPEL, the authentication is not happening if we call the default endpoint from JAVA proxy or Soap UI e.g
    http://host.domainame:7777/orabpel/bpelprocess1/050101 - Authenticates as per the OWSM policy and WORKS FINE
    http://host.domainame:7777/orabpel/bpelprocess1 - Executes the process WITHOUT authenticating
    Any help would be appreciated.
    Thanks
    Shehzad

    Did you resolve this issue ? We are having same issue with one of our BPEL process ........ any help would be highly appreciated .....
    Thanks in Advance

  • Multiple web services on single server causing object undefined errors

    Hi,
    I've currently got a bit of a strange problem within a web service that is proving difficult to debug.
    There are the web service urls :
         api.domain.com                -> /var/www/html/api.domain.com/            -> CF mapping to MYSERVICE
         testapi.domain.com          -> /var/www/html/testapi.domain.com/     -> CF mapping to MYSERVICE_test
    In both instances the cfcs that contain the code to be translated into a WSDL reside in /api/..., in the case of this example, /api/common.cfc.  wsargs constists simply of refreshwsdl true.
    If I call the following 2 lines ...
         obj_myservice = CreateObject('webservice','http://api.domain.com/api/common.cfc?wsdl',wsargs);
         obj_myservice_test = CreateObject('webservice','http://testapi.domain.com/api/common.cfc?wsdl',wsargs);
    I then call the same method in both, and they are successful.  When checking the "Data & Services" -> "Web Services" panel within the CF control panel, only the web service "http://api.domain.com/api/common.cfc?wsdl" is listed, and not testapi.domain.com......
    If I reverse the order in which the WSDL's are loaded then this switches, and testapi.domain.com..... gets listed under "Web Services" but api.domain.com..... does not.  In essence it appears as though for some reason the CF server overwrites one with the other.  The exact "object undefined" error is proving difficult to reproduce reliably.
    This appears to happen no matter which server is accessing the web service, be it the same server or a remote server.  All servers involved are running CF8.  Accessing the 2 WSDL files in a browser results in the 2 WSDLs being rendered correctly with different namespace values.
    On the same server are 2 more services
         MYSERVICE2
         MYSERVICE2_test
    These reside in the /api2 directories on the same 2 subdomains, api. and testapi.   MYSERVICE2 and MYSERVICE2_test appear to conflict with each other.  MYSERVICE and MYSERVICE_test appear to conflict with each other.  MYSERVICE and MYSERVICE2 do not appear to conflict with each other.
    Is there a configuration change or anything like that which I should be aware of that would prevent me doing the above?  The 2 /api/ directories are nearly identical with the exception that the namespace and complex type names have been set to http://api.domain.com & MYSERVICE in the first, and http://testapi.domain.com & MYSERVICE_test in the second url.
    I have also tried mapping /MYSERVICE and /MYSERVICE_test within /opt/coldfusion8/WEB-INF/jrun-web.xml to no avail.
    Any help would be appreciated.  If there is any useful information that I have missed off please let me know and I'll dig it out.
    - Simon H

    Hi,
    As an extension to the above
    Server                Test service         "Live" service
    1 ("dev")                devtest                   devlive               http://dev(test/live).domain.com
    2 ("test")                testtest                   testlive               http://test(test/live).domain.com
    I currently have a test script (TEST1) that performs the following :
    CreateObject + call method from devlive
    CreateObject + call method from devtest
    CreateObject + call method from testtest
    The script errors on the third, when it attempts to call a method from devtest.  On the server on which this test script is running, by the end of this, there are the following 2 web services in the Coldfusion control panel :
    http://devlive.domain.com/api/common.cfc?wsdl
    http://testtest.domain.com/api/common.cfc?wsdl
    I have a second test script (TEST2) on a second server distinctfrom the first test script server, on which the following is performed :
    CreateObject + call method from testlive
    If I execute TEST2, then it executes fine.  If I execute TEST1 straight after, then I receive the following error on TEST1
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Deserializing parameter 'objectFetchReturn':  could not find deserializer for type {http://common.types.WEBSERVICE_test}details
    Where WEBSERVICE.types.common.details is a complex type (/api/types/common/details.cfc). If I then run the TEST2 script again straight after, the same error appears (with WEBSERVICE in place of WEBSERVICE_test).  If I execute TEST2 twice in a row, or TEST1 twice in a row, then the error disappears"test" server has got jrun-web.xml  edited to include the following, which "dev" does not.
      <virtual-mapping>
        <resource-path>/WEBSERVICE_test</resource-path>
        <system-path>/var/www/html/testapi.domain.com/api</system-path>
      </virtual-mapping>
      <virtual-mapping>
        <resource-path>/WEBSERVICE</resource-path>
        <system-path>/var/www/html/api.domain.com/api</system-path>
      </virtual-mapping>
    I hope that this extended explaination helps.
    Simon H

  • After i installed updates for my mac mini server, the web services for the server app wont start, it gives an error massage: "Error Reading Settings"

    After i installed updates for my mac mini server, the web services for the server app wont start, it gives an error massage: "Error Reading Settings"
    The system logs reads:
    Mar 29 22:06:25 server servermgrd[82]: servermgr_web:  Error Domain=XSServerFoundationErrorDomain Code=4 "Failed to read settings: Exception:
              undefined method `downcase' for nil:NilClass
              ." UserInfo=0x7fc547901080 {NSLocalizedDescription=Failed to read settings: Exception:
              undefined method `downcase' for nil:NilClass

    To check the local network for some of the common configuration problems, launch Terminal.app and issue the following diagnostic command:
    sudo changeip -checkhostname
    That'll report some local configuration information and then either no errors detected and no changes required, or it'll point to whatever configuration errors or issues it might detect.  That doesn't catch everything, but it catches the common errors.
    FWIW, 192.168.0.0/24 and 192.168.1.0/24 are poor choices for the local network, as VPNs are based on IP routing and IP routing gets tangled when the same subnet is used on both ends of the VPN. 192.168.0.0/24 and 192.168.1.0/24 are near ubiquitous in home networks and coffee shops.

  • I tried to install latest iTunes version. However I am getting error message that "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services".

    I have Windows XP system. I tried to install latest iTunes version. However I am getting error message that "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services". I have all the previlages on my laptop. Please help.

    Solving MSVCR80 issue and Windows iTunes install issues.

  • Getting a error invoking web service action  block

    HI
    I am first time using web service action block in xmii. I am using it for executing my transaction . But it is giving error stating that
    Error invoking web service action block. I dont know please help me out?

    Hi Mike,
    I am using xMII - 11.5 version and with java 1.6.0_07. In My system i have installed service pack 3. When ever i use webservice action block and execute it, It gives error stating .
    [INFO ]: Execution Started At: 11:07:16
    [DEBUG]: 00000.01600 Begin Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [DEBUG]: 00000.01600 Begin Sequence Sequence : ()
    [DEBUG]: 00000.01600 Begin Action WebService_0 : ()
    [ERROR]: Error Invoking Web Service Action: null
    [ERROR]: ACTION FAILED: End Action WebService_0 : ()
    [DEBUG]: 00001.42200 Begin Sequence Sequence_0 : ()
    [DEBUG]: 00001.42200 Begin Action Tracer_0 : ()
    [INFO ]: <?xml version="1.0" encoding="UTF-8"?><XacuteResponse xmlns="http://www.lighthammer.com/Xacute"><Rowsets DateCreated="2000-01-01T00:00:00" EndDate="2000-01-01T00:00:00" StartDate="2000-01-01T00:00:00" Version=""><FatalError/><Messages><Message/></Messages><Rowset><Columns><Column Description="" MaxRange="0.00" MinRange="0.00" Name="" SQLDataType="0" SourceColumn=""/></Columns><Row><Output/></Row></Rowset></Rowsets></XacuteResponse>
    [DEBUG]: 00001.43700 End Action Tracer_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence : ()
    [DEBUG]: 00001.43700 End Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [INFO ]: Execution Completed At: 11:07:17 Elapsed Time was 1421 mS
    please help me out .

Maybe you are looking for

  • Report painter report GL acount text not appearing

    Hi, We have just upgraded from 4.7 to ECC 6.0. The rpeort painter reports accessing FI-SL tables are not working properly. The lead column is displaying GL account number twice in ECC 6.0. However in 4.7 it is working correctly with GL account number

  • A good tutorial on APEX and/or PL/SQL Web Services

    Hello I am trying to implement a web services where I will be uploading some files to a remote server. I will be using APEX 3.2 to implement UI and PL/SQL for 11g However, there is one thing I have to admit I have not been able find this kind of tuto

  • Transactional replication is a problem

    i have got transactional replication going on. when i check the status on publisher database , publisher to distrubutor history shows perfefcely fine but distributor to subscriber is waiting since forever and when i check the status on subscription/d

  • Where have the tools menu gone

    I have the latet version of firefox and want to get rid of yahoo as my home page and go back my original home.

  • Batch UUT information dialog

    I need to customize the Batch model using CVI.For example need to add 2 more Batch serial number strings on top, remove status message, last socket row - do not show serail number box etc.Looks like the files I need to modify are batchuutdlg.c and mo