Use TaskQueryService via Axis2 Client - unrecognized operation: credential

Trying to use the TaskQueryService via an Aixs2 client results in 'Unexpected subelement credential'.
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement credential
     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub.fromOM(TaskQueryServiceStub.java:4029)
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub.authenticate(TaskQueryServiceStub.java:382)
     at com.test.humantask.client.TaskQueryService.main(TaskQueryService.java:55)
Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement credential
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub$CredentialType$Factory.parse(TaskQueryServiceStub.java:56390)
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub$WorkflowContextType$Factory.parse(TaskQueryServiceStub.java:10244)
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub$WorkflowContext$Factory.parse(TaskQueryServiceStub.java:55626)
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub.fromOM(TaskQueryServiceStub.java:3946)
     ... 2 more
Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement credential
     at com.oracle.xmlns.bpel.workflow.taskqueryservice.TaskQueryServiceStub$CredentialType$Factory.parse(TaskQueryServiceStub.java:56340)
     ... 5 more
The java client is generated with wsdl2java from the axis2 project. The produced soap-request is
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns1:credential xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/common">
<ns1:login>testuser</ns1:login>
     <ns1:password>123456</ns1:password>
</ns1:credential>
</soapenv:Body>
</soapenv:Envelope>
The response:
<?xml version="1.0" encoding="UTF-8"?>
<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://xmlns.oracle.com/bpel/workflow/taskQueryService">
<env:Body>
<workflowContext xmlns="http://xmlns.oracle.com/bpel/workflow/common">
<credential>
<login>testuser</login>
</credential>
<token>c9pHcmBFtc4q7/EY3xGAv/6hhfa6HfGgBPzuIh5Ur+l+ZHU9HP9WBAQoi9x1fRynfEG/gK/hMBSjw2/7ZdTQ8hWDSm4OWnKx9dmELCR9AB4SC0Hp94Q+mPcc0pEjEpQLLEOzQlZI5XvfUIjYYW8Ta5rmTM5p+g1Q8ydtdO6</token>
</workflowContext>
</env:Body>
</env:Envelope>
Any ideas on this one?

Thanks for your reply.
I've tried that too, actually with
oracle.tip.pc.services.identity.config.ISConfiguration.getDefaultRealmName()
instead of hardcoding "jazn.com", the result is the same.
The problem is the missing namespace attribute. I had the same error
message using an axis2 client. Just that the client request had
the correct namespace attribute and the TaskQueryService response
came without the namespace attribute which the axis2 client didn't
accept (which, I think, is correct).
I had some success which an axis client which is not that petty.
I guess it's a bug of the TaskQueryService. The xsd files seem not to be
consistent with what the Service expects/provides. Strange
that you don't have the same problem. Which version of
the SoaSuite do you use?
What do you mean by "out of the box BPEL seems to use a local XML file for JAZN".
Local on serverside?
Regards, Martin

Similar Messages

  • This is regarding CBMA in SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the mails to Business workplace inbox in ECC.

    This is regarding CBMA in single stack SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the alert mails to Business workplace inbox in ECC.
    So I need to set up PI to redirect mails to ECC Business workplace user inbox (sbwp). From here rules are set up & routed per distribution list.
    Please guide me how I can achieve this requirement.

    Hi,
    yes, it is a little bit different. This is the issue.....  
    But I am not sure if your links will help:
    1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    is about a different solution. I do not need to count the number of lines of the source message.
    And the second variable is about concat line by line from unbound node to unbound node.
    My issue is:
    Souce:
    Message line (0...unbound) ! ! ! ! ! ! ! !
    .    ResultLine   (1..1)
    Mapping:
    =>   ResultLine1
           ResultLine2
           ResultLine........          => into UDF to an element  (1..1) in one mapping operation.
    So that all "ResultLine"s are included.
    The result is explained in the given link for Mail attachment with UDF.
    So I am not sure how to use this thread for my issue.
    In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
    So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
    2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
    shows where to find the button "Java section" which is not available here in 7.1
    3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.  
    So my issue is: How to replace the Java section function with global variables in PI 7.1?
    Best regards
    Dirk

  • Unrecognized operation - using utl_dbws

    -29532 ORA-29532: Java call terminated by uncaught Java exception:
    javax.xml.rpc.soap.SOAPFaultException: Caught exception while handling request:
    unrecognized operation: {http://hristdb/MyWebService1.wsdl}rminfo
    Any idea?
    CREATE OR REPLACE PROCEDURE getRM AS
    V_TARGET_NAMESPACE VARCHAR2(100);
    V_ENDPOINT_URL VARCHAR2(1024);
    V_wsdl_URL VARCHAR2(1024);
    V_STRING_TYPE_QNAME sys.utl_DBWS.QNAME;
    V_number_TYPE_QNAME sys.utl_DBWS.QNAME;
    V_SERVICE_NAME VARCHAR2(400);
    V_PORT_NAME VARCHAR2(400);
    V_OPERATION_NAME VARCHAR2(400);
    V_SERVICE_QNAME sys.utl_DBWS.QNAME;
    V_PORT_QNAME sys.utl_DBWS.QNAME;
    V_OPERATION_QNAME sys.utl_DBWS.QNAME;
    V_SERVICE sys.utl_DBWS.SERVICE;
    V_CALL sys.utl_DBWS.CALL;
    V_PARAMS sys.utl_DBWS.ANYDATA_LIST;
    v_outputs sys.utl_dbws.ANYDATA_LIST;
    V_RETURN ANYDATA;
    BEGIN
    -- Set the Target NameSpace
    V_TARGET_NAMESPACE := 'http://hristdb/MyWebService1.wsdl';
    -- Set the End Point URL
    V_ENDPOINT_URL := 'http://hrist:8888/DatasetWS-rm-context-root/MyWebService1SoapHttpPort';
    v_wsdl_url := 'http://hrist:8888/DatasetWS-rm-context-root/MyWebService1SoapHttpPort?WSDL';
    -- Set the Service
    V_SERVICE_NAME := 'MyWebService1';
    -- Set the Port
    V_PORT_NAME := 'MyWebService1SoapHttpPort';
    -- Set the Operation
    V_OPERATION_NAME := 'rminfo';
    -- Convert the Service, Port and Operation to Qualified Names
    V_SERVICE_QNAME := sys.utl_DBWS.TO_QNAME(V_TARGET_NAMESPACE, V_SERVICE_NAME);
    V_PORT_QNAME := sys.utl_DBWS.TO_QNAME(V_TARGET_NAMESPACE, V_PORT_NAME);
    V_OPERATION_QNAME := sys.utl_DBWS.TO_QNAME(V_TARGET_NAMESPACE, V_OPERATION_NAME);
    -- Create a Service. The Service created here will be used to create a call
    -- to the Web Service.
    V_SERVICE := sys.utl_DBWS.CREATE_SERVICE(URIFACTORY.getURI(v_wsdl_url), V_SERVICE_QNAME);
    -- Create a Call to the Web Service. The call created here will be used to
    -- invoke the Web Services, using the End Point URL.
    V_CALL := sys.utl_DBWS.CREATE_CALL
    ( V_SERVICE,
    V_PORT_QNAME,
    V_OPERATION_QNAME);
    -- Set the SOAP Action Properties to use.
    sys.utl_dbws.set_property(V_CALL,'SOAPACTION_USE', 'TRUE');
    sys.utl_dbws.set_property(V_CALL,'SOAPACTION_URI', 'rminfo');
    sys.utl_dbws.set_property(V_CALL,'OPERATION_STYLE', 'rpc');
    -- set type of input and output parameters
    V_STRING_TYPE_QNAME := sys.utl_DBWS.TO_QNAME ('http://www.w3.org/2001/XMLSchema', 'string');
    -- Provide values for the Input Parameters
    v_params(0) := anydata.convertnumber(23);
    -- Set the Return Type
    sys.utl_dbws.set_return_type (v_call, v_string_type_qname);
    -- Set the Target End Point. The Target End Point is used to invoke the
    -- Web Service.
    sys.utl_DBWS.SET_TARGET_ENDPOINT_ADDRESS(V_CALL,V_ENDPOINT_URL);
    -- Invoke the Web Service
    v_return := sys.utl_dbws.invoke (v_call, v_params);
    -- v_outputs := sys.utl_dbws.get_output_values (v_call);
    -- Release the call to the Web Service. A Call to a Web Service is a
    -- Resource that needs to be released after the work is done.
    sys.utl_DBWS.RELEASE_CALL (V_CALL);
    -- Release the Service. A Service to a Web Service is a
    -- Resource that needs to be released after the work is done.
    sys.utl_DBWS.RELEASE_SERVICE (V_SERVICE);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(sqlcode ||' '||substr(SQLERRM, 1, 1000));
    END;
    /

    -29532 ORA-29532: Java call terminated by uncaught Java exception:
    javax.xml.rpc.soap.SOAPFaultException: Caught exception while handling request:
    unrecognized operation: {http://hristdb/MyWebService1.wsdl}rminfo
    Any idea?
    CREATE OR REPLACE PROCEDURE getRM AS
    V_TARGET_NAMESPACE VARCHAR2(100);
    V_ENDPOINT_URL VARCHAR2(1024);
    V_wsdl_URL VARCHAR2(1024);
    V_STRING_TYPE_QNAME sys.utl_DBWS.QNAME;
    V_number_TYPE_QNAME sys.utl_DBWS.QNAME;
    V_SERVICE_NAME VARCHAR2(400);
    V_PORT_NAME VARCHAR2(400);
    V_OPERATION_NAME VARCHAR2(400);
    V_SERVICE_QNAME sys.utl_DBWS.QNAME;
    V_PORT_QNAME sys.utl_DBWS.QNAME;
    V_OPERATION_QNAME sys.utl_DBWS.QNAME;
    V_SERVICE sys.utl_DBWS.SERVICE;
    V_CALL sys.utl_DBWS.CALL;
    V_PARAMS sys.utl_DBWS.ANYDATA_LIST;
    v_outputs sys.utl_dbws.ANYDATA_LIST;
    V_RETURN ANYDATA;
    BEGIN
    -- Set the Target NameSpace
    V_TARGET_NAMESPACE := 'http://hristdb/MyWebService1.wsdl';
    -- Set the End Point URL
    V_ENDPOINT_URL := 'http://hrist:8888/DatasetWS-rm-context-root/MyWebService1SoapHttpPort';
    v_wsdl_url := 'http://hrist:8888/DatasetWS-rm-context-root/MyWebService1SoapHttpPort?WSDL';
    -- Set the Service
    V_SERVICE_NAME := 'MyWebService1';
    -- Set the Port
    V_PORT_NAME := 'MyWebService1SoapHttpPort';
    -- Set the Operation
    V_OPERATION_NAME := 'rminfo';
    -- Convert the Service, Port and Operation to Qualified Names
    V_SERVICE_QNAME := sys.utl_DBWS.TO_QNAME(V_TARGET_NAMESPACE, V_SERVICE_NAME);
    V_PORT_QNAME := sys.utl_DBWS.TO_QNAME(V_TARGET_NAMESPACE, V_PORT_NAME);
    V_OPERATION_QNAME := sys.utl_DBWS.TO_QNAME(V_TARGET_NAMESPACE, V_OPERATION_NAME);
    -- Create a Service. The Service created here will be used to create a call
    -- to the Web Service.
    V_SERVICE := sys.utl_DBWS.CREATE_SERVICE(URIFACTORY.getURI(v_wsdl_url), V_SERVICE_QNAME);
    -- Create a Call to the Web Service. The call created here will be used to
    -- invoke the Web Services, using the End Point URL.
    V_CALL := sys.utl_DBWS.CREATE_CALL
    ( V_SERVICE,
    V_PORT_QNAME,
    V_OPERATION_QNAME);
    -- Set the SOAP Action Properties to use.
    sys.utl_dbws.set_property(V_CALL,'SOAPACTION_USE', 'TRUE');
    sys.utl_dbws.set_property(V_CALL,'SOAPACTION_URI', 'rminfo');
    sys.utl_dbws.set_property(V_CALL,'OPERATION_STYLE', 'rpc');
    -- set type of input and output parameters
    V_STRING_TYPE_QNAME := sys.utl_DBWS.TO_QNAME ('http://www.w3.org/2001/XMLSchema', 'string');
    -- Provide values for the Input Parameters
    v_params(0) := anydata.convertnumber(23);
    -- Set the Return Type
    sys.utl_dbws.set_return_type (v_call, v_string_type_qname);
    -- Set the Target End Point. The Target End Point is used to invoke the
    -- Web Service.
    sys.utl_DBWS.SET_TARGET_ENDPOINT_ADDRESS(V_CALL,V_ENDPOINT_URL);
    -- Invoke the Web Service
    v_return := sys.utl_dbws.invoke (v_call, v_params);
    -- v_outputs := sys.utl_dbws.get_output_values (v_call);
    -- Release the call to the Web Service. A Call to a Web Service is a
    -- Resource that needs to be released after the work is done.
    sys.utl_DBWS.RELEASE_CALL (V_CALL);
    -- Release the Service. A Service to a Web Service is a
    -- Resource that needs to be released after the work is done.
    sys.utl_DBWS.RELEASE_SERVICE (V_SERVICE);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(sqlcode ||' '||substr(SQLERRM, 1, 1000));
    END;
    /

  • Can't scan a collection using endpoint, "Failed to initiate client side operation."

    i'm trying to do a quick endpoint scan of a collection and get the error, "failed to initiate client side operation."   I click the details button and I get this:
    Not found
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException
    The SMS Provider reported an error.
    Stack Trace:
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters)
       at Microsoft.ConfigurationManagement.AdminConsole.ClientOperation.Utilities.ExecuteClientOperation(ConnectionManagerBase connectionManager, ClientActionType operationType, String collectionId, String collectionName, List`1 validMachineIds, IResultObject
    selectedMachines)
    System.Management.ManagementException
    Not found
    Stack Trace:
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters)
       at Microsoft.ConfigurationManagement.AdminConsole.ClientOperation.Utilities.ExecuteClientOperation(ConnectionManagerBase connectionManager, ClientActionType operationType, String collectionId, String collectionName, List`1 validMachineIds, IResultObject
    selectedMachines)
    I have absolutely no idea how to fix it.  I've tried resetting the site, uninstalling and reinstalling the SCCM console from the SP1 media, verifying that WMI is set up correctly, reinstalling the SCCM client on my server, restarting the server... I've
    got nothing.   Does anyone have any suggestions?

    What version is the client running? Do you also have Cu1 installed, if so, did you also upgrade the clients?
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Not able to login to FWSM via SSH client

    When i am trying to login to FWSM via SSH client and it is throwing an error that "SSH server rejected your password Try again"

    Hello,
    Not sure how you want me to help. The error says it all! The password is wrong.
    Do you have any other username/password that you could use to connect and change yours as it looks you forgot it. Otherwise try to access it via console and change it.
    Regards.
    Jcarvaja
    Senior Network Security and Core Specialist
    CCIE #42930, 2-CCNP, JNCIS-SEC
    For inmediate assistance hire us at http://inetworks.cr/our-rates/

  • How can FTP users access my NAS system via FTP client?

    I recently purchased a 2 bay, 4TB Buffalo Link Station DUO in order to solve some FTP issues.  I have about 50 users outside my LAN that need to connect drop files on my NAS, however nobody seems able to connect via FTP client.  If they login using the Web Access Dynamic DNS address they can read and write via their web browser, but it's clunky and slow.
    My NAS system has been given the IP adress of 192.168.1.254 which seem to me that it's a local IP adress, not a public/static IP. Do I need to manually assign an IP adress to my NAS system in order fot users to log into that specific IP and go directly to the shared folders on the NAS system?
    Thanks in advance!

    Your NAS is getting that IP because it is behind your Router, which is the normal way to use it and as it should be.
    You can not ASSIGN a public IP you your NAS. Only your ISP can do that and usually that incures an extra cost for more than 1 Public IP address. Usually included with a Business account and most of the time only available with a Business account. ISP do not want home owners running FTP or Mail servers on a residential acounts.
    As noted you have to forward the noraml FTP port, port 21, in your Router to the IP of the NAS. Since you already have that port forwarded to your Mac, which I have no idea why you did that, you have to either change that port forwarding to the NAS IP or make the FTP server on the NAS respond to some other port and forward that on the router to the IP of the NAS. The to access the NAS FTP server you have to enter the piblic IP address of your router followed with a :and port #. XXX.XXX.XXX.XXX:22 or whatever port # you assign to the FTP server on the NAS.

  • Use GUI mode for OEL guest operating system.

    Hi,
    Another "newbie" question - so please be patient.
    We have a VM Server and have used a VM Template to create a VM with Oracle 11g on OLE5.2 - all this works great and them VM operates and we can connect to the VM from VM Manager and login (character mode) etc.
    Now... how do we get OEL5.2 to run in graphical mode? I have seen some Oracle By Example posts that seem to show this in operation using TightVNC on the client and connecting to the VNC port for the VM - but when we do this it just brings up the character mode login console.
    Any and all help/pointers is much appreciated.
    Regards,
    Bren

    My preferred way is to use SSH with X11 forwarding. It provides a secure means to use graphical applications over a network. Instead of running the GUI application on the remote server, you run it on your client locally, albeit interacting with the remote server. For this you don't need to start X on your remote server and can leave it at runlevel 3. You would simply login from your client machine to the remote host:
    ssh -X account@servername_or_ip
    It will automatically setup your X11 display environment and you can type your X11 app right at the command prompt. For instance:
    system-config-users
    system-config-services
    system-config-network
    etc.
    If you need to find out what application is hidden behind which menu option, you could type 'alacarte' to analyze the standard menu.
    Of course you will need a SSH client, with an X-Terminal and a X11 server on your client machine. If you have to deal with Windows, you might find the following useful (free):
    http://mobaxterm.mobatek.net/en/
    If you run on MacOSX, you already have the most featured X-windows terminal that exits, and just may have to install X11 from the optional install of the OS installation CD.

  • Issue connecting via proxy client in SQL Developer 4.0

    Hi SQL Developers,
    I should have posted this earlier, as I have been using SQL Developer 4.0 for several months and noticed the issue some time ago. The environment I am connecting to uses a Windows ISA Proxy desktop client to allow traffic to some databases. I generally use the Oracle Client and OCI connections in SQL Developer. At some point during the SQL Developer releases, connectivity stopped working for certain databases behind the proxy.
    The following clients connect to the database behind the proxy without issue:
    SQL*Plus 11.2.0.1 64-bit
    SQL Developer 4.0.0.12.84 using the SQL*Plus client and OCI
    Connectivity to the database behind the proxy does not work with these versions:
    SQL Developer 4.0.0.13.80 (tested with Oracle client, thin, etc.)
    SQL Developer 4.0.0.13.30 (tested with Oracle client, thin, etc.)
    Error Message:
    An error was encountered performing the requested operation:
    IO Error: The Network Adapter could not establish the connection
    Vendor code 17002
    Connectivity to other non-proxied databases works for all clients above. I've tried re-creating the connections, re-installing, etc. Nothing works except going back to the earlier version of SQL Developer.
    Has anyone else experienced this behavior? I am trying to determine whether the proxy is stopping the client based on a signature or if the client is not routing the connection correctly.
    Thanks,
    Shad

    I think I have found a solution.
    Run the command prompt (CMD) in windows and type in the following:
    setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
    I got this from a java developer and now I'm able to connect

  • Cannot configure wrt54gs v6 router for use with filezilla FTP client

    I am new to working with FTP and very rusty on networking in general.  I just downloaded filezilla to create a FTP client on my desktop.  When I run their wizard, it says the connection is tainted by my router.  All the forums for filezilla say I need to configure my router to allow traffic on either port 21 (ftp) or a range of ports ( they suggest 50000 to 50100).
    Please let me know what I need to do to make this work
    thanks in advance
    ldygunner

    To answer your other questions, the tutorials have it all wrong. What they really need to explain, but fail to do so, is that the only situation where a FTP client would need to use active mode (the PORT command) is where the FTP server can't accept inbound connections on arbitrary port numbers. But that's a pathological case anyway: the FTP server can always accept connections on some well defined set of port numbers, to keep its own local firewall or NAT router happy. Consequently, there is really no need at all for a FTP client system to open up any ports to support active mode, rather than always operate in passive mode (as browsers do.)
    The fact of the matter is that if passive mode works in a browser for you, it will work for Filezilla also.
    And the configuration tests it runs are brain damaged. Even though the wizard recommends passive mode, it never tests for it. And it doesn't really test active mode either. What it really tests is whether anything between the client and the server is "transparently" translating IP addresses and port numbers. Such a test is broken, because the mere fact of port numbers being rewritten in TCP packets is irrelevant to whether PORT (active mode) will succeed or fail.
    For completeness, in case someone decides to get pedantic, there is a case where a FTP client system would need the active mode PORT command to work, but that case is now of historical interest only. It's a scenario that FTP servers no longer support, for security reasons. (What is it? When the FTP client is operating as a controller to remotely transfer files between two servers: it tells one server to use passive mode, and sends the address/port it gets to the other server in active mode, which in theory would make the second server open a connection to the first. This, in fact, is why two modes, active and passive, were originally defined in the FTP standard!)  And it still wouldn't need open ports on the client system.
    Message Edited by arayq2 on 10-19-2008 09:12 PM

  • Axis2 client

    Hello All
    I am using axis2 for webservice development.
    When i run client first time it gives me error below .
    But second time and later many times it runs successfully.
    I am using jboss 4.0.2 server .
    Now i restart server and try to run it again gives me this error.
    So this error occured only one time when server is up .
    Thanks in advance for your kind sugestion to solve this problem.
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method createEvent
         at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
         at st.ict.qs.ws.client1.EventServiceStub.createEvent(EventServiceStub.java:205)
         at test_case.test.main(test.java:47)
    Best Regards
    Rajnish Chauhan

    Check the header that is being generated in the request , I do not think it has all the elements that has been put in the contract , you can print the SOAP request using handlers in Axis2 . check that and also can you post your config file and the actual contract so that i can help

  • APEX 3.0 Web Service OWS-04052 unrecognized operation SOAP Envelop

    Hey,
    I run into a problem with WebServices. Short, I implemented a WebService with JDeveloper and now I would like to create ws references in APEX. The ws is working 100% correct so the problem is, that APEX creates a soap envelop which is not 100% correct...
    So blabla here it is what APEX generates for request:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:projectId
    xmlns:ns1="http://impl.planning.services.model.azima.promatis.com/">2</ns1:projectId>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Now the request which should be sended: (from EM Console)
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://impl.planning.services.model.azima.promatis.com/">
    <ns1:getAllElementsOfProject>
    <ns1:projectId>2</ns1:projectId>
    </ns1:getAllElementsOfProject>
    </soap:Body>
    </soap:Envelope>
    Compare and you will see that the operation info is missing. So it's almost the same but the operation 'getAllElementsOfProject' isn't in the request.
    If it helps I could also send the wsdl if requiered for help.
    So I run into the following error:
    <?xml version="1.0" encoding="UTF-8"?>
    <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://impl.planning.services.model.azima.promatis.com/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>Caught exception while handling request: unrecognized operation: {http://impl.planning.services.model.azima.promatis.com/}projectId</faultstring></env:Fault></env:Body></env:Envelope>
    From Response
    2007-05-22 16:41:01.765 WARNING OWS-04052 Bestimmen der Vorgangs-ID aus SOAP-Nachricht nicht m÷glich.
    In OC4J (sorry german - means that operation-id couldn't be identified)
    Do you have any ideas how I could configure this? Before you try to say: make it manually, I won't, because it have to worked automatically!
    Thanks
    Frank

    Ok I tried it with new Version JAX-WS 2.0.1. There is a new annotation where the type of the Enpoint or WebService itseld can be set:
    @BindingType( value=SOAPBinding.SOAP11HTTP_BINDING )
    So I tried now with SOAP 1.1 but APEX still don't put the operation name in the SOAP request envelope...
    Now do anyone out there have a clue what else could be wrong? Did I maybe forget an annotation parameter somewhere or something else? So I do it something like this:
    @Stateless
    @WebService( name="XXX" )
    @BindingType( value=SOAPBinding.SOAP11HTTP_BINDING )
    public class XXXImpl implements Ixxx {
    @EJB Ia a;
    @EJB Ib b;
    @WebMethod( operationName="foo" )
    public ADaoObjectWithNoComplexAttributes foo( Long someId ) {
    // do it!
    return theDao;
    I am appreciate for any help!
    Thanks
    Message was edited by:
    promatis

  • Client Side Operating System Commands

    Hello,
    I need to invoke client side operating system commands or batch executables (e.g. test.bat) with the help of Java stored procedures and PL/SQL written in database server. My database is Oracle 10g and installed on UNIX platform, and I am trying to call Windows client commands. What do you prefer to do this?
    I investigated lots of documents, but they generally refer how to call OS commands of the server on which the database is running.
    Thanks.

    It mostly depends on your particular client application how it handles return parameters from SQL or PLSQL.
    One simple way would be to simply "print" out the desired client command and let it evaluate it from the client side.
    As an example I use SQL*Plus:
    /* declare bind variable */
    SQL> VAR x varchar2(30)
    /* define substitution variable (cmd)  */
    SQL> COLUMN cmd new_value cmd
    /*    Assign the SQL output to the declared bind variable */
    SQL> BEGIN
       SELECT 'echo Hello World'
         INTO :x
         FROM DUAL;
    END;
    PL/SQL procedure successfully completed.
    /*  Assign the bind variable to SQL*Plus substitution variable */
    SQL> SELECT :x cmd
      FROM DUAL
    CMD                            
    echo Hello World               
    1 row selected.
    /*  Finally let the HOST command evaluate the substution variable */
    SQL> HOST &&cmd
    Hello WorldHope you got the idea ...

  • Publish Web Service via UDDI Client

    Hi everyone
    I have an outbound interface wich I´ve created and exported the .wsdl file into a folder that I created in the Visual Administrator, so it can be accesed via http://server:port/folder.
    When I try to publish the WSDL via UDDI Client it requests me for user and password, but i don´t know which user to use.
    I read that I have to create a user for that folder in Visual Administrator, but did not found how to do this.
    Can someone give me some light please??
    Thanks in advanced.
    Karla

    Hi,
    Try using the udditest.sap.com   it is the Test Registry provided.
    Configuring the UDDI Client and UDDI Server    ::::
    To use the UDDI client for publishing, updating, or discovering business services and tModels, first you have to administer the UDDI client as well as the UDDI server using the J2EE Engine Visual Administrator.
    Procedure
           1.      Select Web Services Container ® Runtime ® UDDI Client.
           2.      From the Available Registries list, select a UDDI registry.
                                a.      To enter a different Inquiry URL and Publish URL, choose Edit Registry and enter new locations.
    Make sure that the URLs contain a  value. If they do not, then add the port value manually (for example, localhost:50000).
                                b.      To add a registry to the Available Registries list, choose New Registry.
                                c.      To remove a registry from the list, choose Remove Registry.
           3.      On the UDDI Server tab page, choose New User and enter the corresponding data. For more information, see Managing the UDDI Server in the Administration Manual.
    Using the Visual Administrator, you can create users for а local test registry only.
    Create the User here for the test registry used.
    regards
    Ganga
    Edited by: gangaprasad chintala on Dec 26, 2008 8:04 PM

  • Hyperlink to open in new window on clicking via crystal client

    Hi,
    How to call hyperlink in new window via crystal client.
    I have main report. In that ,for two-three columns, I have made the hyperlink and I want that when user click on that column, it should open in new window.
    But I am unable to open the below link in new window.
    Hyperlink code :
    'http://epint1ent1.jpmorganchase.com/vps/docViewer?invoiceIndexKey='
    &columnname
    I am using crystal client XI R2.
    Please let me know any solution.
    Thanks in advance

    Vishal,
    In your Hyperlink add in the parameter for
    sWindow=New
    i.e. 'http://epint1ent1.jpmorganchase.com/vps/docViewer?sWindow=New&invoiceIndexKey='.....
    You obviously need to complete the Hyperlink fully.
    This should do the trick

  • Projects that has used OPA via Java library

    Hi All,
    Would like to know if OPA been used as a Java library in an actual project/implementation. At the moment I would like to know the approach/strategy and lessons learnt if we go this path - since there is a lot of implementation details to address.
    Its a possible integration at the moment for a client of ours - the pros/cons vs OPA as a webservice has been discussed, but due to high performance requirements may need to use OPA as a library. Currently no specific business scenarios for OPA, but the intention is to use it as wide as possible - since any rules not in OPA is likely to be Java.
    Cheers
    Noel
    Edited by: Noel Lim on Apr 3, 2012 3:00 AM

    I know several customers use OPA via the Determinations Engine API. We always recommend using the Determinations Server where possible in preference to the API, as upgrade is generally cleaner and it is generally easier to change the application separately from the policy models.
    See also the YouTube video here: http://www.youtube.com/watch?v=9-opkHsAyEI&list=UUtUHPDCD1EFH_ftnhR_i-dQ&index=4&feature=plcp which gives an introduction to the different OPA deployment options available.
    Edited by: Davin Fifield on 30-Apr-2012 00:49

Maybe you are looking for

  • XSLT mapping problem with CDATA

    Hi This is my input message <?xml version="1.0"?> <root> <![CDATA[[<a>test</a>]]]> </root> My XSL <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match='node()|@*'> <xsl:copy> <xsl:apply-templates select=

  • Merging clips together

    I imported 3 separate clips into Imovie. They are actually 3 different commercials i shot. I want to merge them together so i can upload i file to the internet. it doesnt have to have a transition or anything between spots. I put them in the timeline

  • Need Urgent Help on Calculation items issue In Discoverer Plus

    Dear Discoverer Experts, I would need help on the below scenario: A 147644.08 147644.08 Maximum: 147,644.08 B 142494.65 5149.43 Sum: 147,644.08 C 5149.43 142494.65 0 Here A, B, C are columns and C column is Calculated Item(A-B) and Maximum and Sum ar

  • Derivation through "Move" in COPA

    Hi Experts Iam trying to derive relationships to avoid "unassigned data" in COPA. I have derivation between customer and salesman, sales office but this is not automatic, at the time of customer creation, the derivation rule has to be maintained in t

  • Search files which filename contains a speicific string

    Hi I'm lookng for a way to find all files in a directory which part of filename contains a specific string. e.g.: string = hello files; - 1hello2.txt - 22he45.txt - gehello42353.txt, .... The result should be either an index or the complete filename