Web Service Job Parameters with Job Actions
I have a set of web service jobs for which I am supplying input parameters. This works fine when defined against a single particular job but i have a need to insert this job based upon a job event and pull some information off of the job the had the event condition occur (i.e. Completed Abnormally). When defining the Job Action to launch the job, the default and override parameter fields are not editable. Has anyone had any luck with this? I didn't notice anything in the documentation but I could have just overlooked this. Any help would be appreciated.
Thanks,
kyle
Me to, and i use Axis for web services (and WebSphere
WebServices).
And, if you use bind from text input you get [object Object]
in general case
<mx:request>
<value>{entry1.text}</value>
</mx:request>
<mx:TextInput x="23" y="101" text="" id="entry1"/>
if you enter any text at textinput and delete it you DONT get
"[object Object]" at web service....
if you dont enter text you get "[object Object]" at web
service...
if you use variable or other elements its the same.
Any help?
TIA
Similar Messages
-
We are attempting to add a web service job and getting a duplicate name issue. I believe we have a caching issue where this job name may already exist but we are unable to see it on the web services status page.
Is there a data services repository database table where I can find these web services jobs listed and clean it up from the backend?There is no option there that shows me if it is being used as a web service. Here is my issue with some screen shots.
I look at my current web service enabled jobs looking for B_JOB_CP_MDR_to_GW_EMP but it is not in the list.
I attempt to add it from repository DWXDS9
It throws an error and tells me there is already a web service with this name...
Now there has got to be an internal data services table somewhere that has this job listed as a web service. I am just trying to figure out what that table may be to determine if we can do some type of cleanup on it so we can add this job again as a web service (so it is visible to us). -
Oracle PL/SQL Web service - dynamic parameters... possible?
Oracle 11.2.0.3 - newbie on web services!
Currently we have a pl/sql web service taking in 2 static parameters and returning a varchar2 response.
I was asked today if it's possible for a web service to take in a dynamic set of parameters and return a corresponding set of results. It's as if I need to pass the web service a table with two columns and return a table of one column.
For example:
Input Output
1 2 3
3 4 7
5 6 11output being in XML of course. It is possible?
p.s. I posted this in OC4J also - no response hence the re-post !Parameters relate to procedures. Web Services require XML messages.
Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
Just package up the values into the XML and pass it to the web service.
If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002} -
EJB Web Service Interface parameters name changed
Hi, all,
I create a simple Session EJB 3.0 with Web Service interface in Jdeveloper 10.1.3.4. and I deployed it into the embedded OC4J server.
The question is I found that the web service operator parameters is changed to "String_1" (actually the parameter in EJB method is String ss). And I found the WSDL file is also String_1.
How to create the real parameter name in WSDL from EJB Web Service interface? Any help on that?
Best Regards,
Billif you do a lookup for the name "java:comp/env/ejb/queryProc" in the servlet, the deployment descriptor of your web-archive must contain an ejb-reference with the ref-name 'ejb/queryProc'.
-
Web service proxy client with client cert cause SSLSessionNotFoundErr
Hi,
I tried to run web service proxy client with certification from JDeveloper 10.1.3.0.4 to call PKI enabled web service got folllowing error:
WARNING: Unable to connect to URL: due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
Web service deployed on OASHi,
i am trying to invoke from JDeveloper (10.1.3) a CRM On Demand's Web Service and I hava the same problem:
ADVERTENCIA: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:96)
at testerlast.ContactClient.contactInsert(ContactClient.java:88)
at testerlast.ContactClient.main(ContactClient.java:69)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:80)
... 2 more
To do the invocation I have done a proxy to consume this Web Service, with the follow main:
public static void main(String[] args) {
try {
testerlast.ContactClient myPort = new testerlast.ContactClient();
System.out.println("calling " + myPort.getEndpoint());
myPort.setUsername(nameUser);
myPort.setPassword(password);
ListOfContactData llista = new ListOfContactData();
ContactData[] contacts=new ContactData[2];
ContactData contact=new ContactData();
ContactInsert_Input input=new ContactInsert_Input();
// Login WS HTTPS
String idSesion=connexioWS_CRM.logon(URL,nameUser,password);
// Add contact
for (int i = 0; i < contacts.length; i++) {
contact.setId("ProvaWSCRM"+i);
contact.setContactFirstName("JDeveloper"+i);
contact.setContactLastName("prove"+i);
contact.setCellularPhone("77777777"+i);
contact.setDescription("Add contact with Id:"+contact.getId());
contacts=contact;
System.out.println("Id:"+contacts[i].getId()+" firstName:"+contacts[i].getContactFirstName()+" lastName:"+contacts[i].getContactLastName());
llista.setContact(contacts);
input.setListOfContact(llista);
input.setEcho("off");
System.out.println("Pwd:"+myPort.getPassword()+" Port:"+myPort._port+" endpoint:"+myPort.getEndpoint()+" user:"+myPort.getUsername());
myPort.contactInsert(llista,"LIC","Broadset","OFF");
// Logout en WS (HTTPS)
connexioWS_CRM.logoff(URL, idSesion);
} catch (Exception ex) {
ex.printStackTrace();
What's wrong? Any idea?
Thank you
Edited by: user12085357 on 31-oct-2009 10:39 -
How to Create web service using JMS with PUB/SUB pattern.
Hi All,
I need to expose web service using JMS with PUB/SUB pattern.
if you have any source for this.
I tried to use @WLJmsTransport annotation but unable to get it done.
I have configured all JMS server, topic, and connection factory.
Thanks.Hi, I am having web sample web service program which is simple one.
But I need to Modify this to JMS enable.
Can any one help me?
Thanks. -
Is it possible to connect to a web Service(JAX-RPC) with a middlet?
Is it possible to connect to a web Service(JAX-RPC) with a middlet?
Hi
Check this article: http://developers.sun.com/sw/building/codesamples/j2me-client/index.html
Mihai -
Missing Web Service Input Parameters
Hi,
I am creating a form on web services. The source of the webservice is BEPL.
When I register the webservice, I see the in and the out parameters.
Operations
Operation Name process
Input Parameters
Operation Parameter Name Parameter Type
process Data_source string
Data_URI string
Token string
But when I continue to create a form on the service, the next screen shows this message:
* Item Finder
Web Service Input Parameters
no data found
Any idea what may be going on here?
Thanks
-SJHello,
Are you sure it's a public webservice or that you put in the right username/password?
Also if you call the webservice just from an url, does that work for you?
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/ -
Data Integrator Web Service Job State
I would like to know if there's any way, through DI's web services to know if a job is running on the job server or not. I am building a .NET application that will allow a user to manually launch a job, but I need to prevent the users from launching the job if it's already running.
I am using Data Integrator 7.2
Thanksyou can check the following post with similar discussions
Re: Extracting JOB_ID for WebClient via webservice
Extracting JOB_ID within the DS Job -
Orchestrator Web Service Job Status Codes
is there a list of all the possible job status codes returned by the Orchestrator Web Service when starting runbooks. i know of "Created", "Ok" but would like full list.
SELECT [Id]
,[Name]
FROM [Orchestrator].[Microsoft.SystemCenter.Orchestrator.Runtime.Internal].[JobStatus]
Query returns
0-Pending
1-Running
2-Failed
3-Canceled
4-Completed -
JPublisher error in web service call out with XMLType parameters
Hi,
We need to create a call to a document/literal web service from PL/SQL.
I've followed Note 555656.1 of Metalink (step by step and several times) to create it with JPublisher and it works for rpc/encoded but not for document/literal. In this case, when using XMLType elements I get the following error:
"ORA-00932: inconsistent datatypes: expected IN Conversion failed
ORA-06512: at line 6"
Oracle DB is 9.2.0.5
oc4j_extended is 10.1.2
JPub is 10.1.0.3.0
dbws-callout-utility 10.1.2
Can anybody help us?Hi,
I had same error and then implement your solution. But I get invalid xml error (I have header and body tags)
How can you remove Envelope tag? -
Web service data control with complex input parameter problem
Hi!
I'm making ADF web app, using JDev 11.1.1.2.0. I have to call a web service (using a data control), which has complex input parameter (array of complex objects).
I followed steps from Susan Duncan blog: http://susanduncan.blogspot.com/2006/09/dealing-with-complex-input-params-in.html , but I ran into a problem.
As Susan wrote, I changed submit's button action binding to an operation in a managed bean, which returns array of objects and everything works fine. I can call a WS and my table shows the result.
The problem is, that after I change button's action binding to my manage bean, row selection in result table doesn't work anymore (I allways get NullPointerException).
What can be done here?
Can somebody please help?Hi,
I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
I followed Susan's blog but I stuck at a point where methos getItem is created.
Can anyone tell me how to get that method for my requirement.
If possible can you guys share your solutions here.
Thanks in advance. -
Web Service Object Parameters and JAXB
Hi All,
This is my first post here and I'm hoping one of you might have encountered a similar problem before. One of our business partners provided us with a WSDL for their service, with an embedded XML schema. My job in this case is to write a message driven bean (MDB) that will take a message containing XML off of a queue and call this web service. However, their web service requires an object to be passed as input. So, I've used JAXB to generate a set of classes (from the schema I ripped out of their WSDL) that will unmarshal the XML document that comes off the queue. This works fine, however, the resulting object is an inherently different object than the object I need to pass to the web service, that one was created by auto-generating the Java proxy for the web service. Since these two classes come from the same schema definition, they have the same structure and can hold the same data, but they have different implementations. My plan is to write a method to copy the data from one object to another, but this feels redundant. Is there any approach I could use to make these two auto-generated sets of code be more compatible, other than the obvious answer of having written everything by hand? Thanks in advance for any replies.Are the XML instances coming from the queue and the request object to the WS defined by the same schema (from the business partner)? If they are different, there's no other option than to do a copy or some sort of XSLT (not that that's any easier though). But if the instances are defined by the same schema, just use some data binding framework that you can use for both reading the XML from the queue and that is incorporated into the WS toolkit you're using.
For example, Axis2 allows you to use XMLBeans as a the data binding framework. Using the generated classes from Axis2, you can read in the XML instances from the queue and at the same time have the request object for the WS call. -
Calling web service via utl_dbws with unbounded return values
Hello, everyone.
I'm trying to use utl_dbws to call web service from Oracle DB 10 g.
WS has unbounded return value:
<xs:element maxOccurs='unbounded' minOccurs='0' name='return' type='xs:string'/>
I'm setting return paramter in web service call handler like this:
sys.UTL_DBWS.set_return_type(l_h_service_call, cs_qname_type_string);
and when I'm trying to call it from PL/SQL function I'm getting an error:
ORA-29532: Java call terminated by uncaught Java exception:
deserialization error: XML reader error: unexpected character content: "s2"
ORA-06512: at "SYS.UTL_DBWS", line 388
ORA-06512: at "SYS.UTL_DBWS", line 385
ORA-06512: at line 38
I've tried to return values by out parameters and got the same exception.
It looks like utl_dbws needs to know parameters count before calling.
Have anyone succeded in getting arrays from Web Service call?
This is a part of wsdl:
<xs:complexType name='getProcessList'>
<xs:sequence>
<xs:element minOccurs='0' name='nameMask' type='xs:string'/>
</xs:sequence>
</xs:complexType>
<xs:complexType name='getProcessListResponse'>
<xs:sequence>
<xs:element maxOccurs='unbounded' minOccurs='0' name='return' type='xs:string'/>
</xs:sequence>
</xs:complexType>
Throught SoapUI I can produce such kind of request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proc="http://processmanager.argustelecom.ru/">
<soapenv:Header/>
<soapenv:Body>
<proc:getProcessList>
<processNameMask>*</processNameMask>
</proc:getProcessList>
</soapenv:Body>
</soapenv:Envelope>
and get a response:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:getProcessListResponse xmlns:ns2="http://processmanager.argustelecom.ru/">
<return>s1</return>
<return>s2</return>
<return>s3</return>
<return>s4</return>
</ns2:getProcessListResponse>
</env:Body>
</env:Envelope>
PL/SQL function:
DECLARE
cs_qname_type_string CONSTANT sys.UTL_DBWS.qname
:= sys.UTL_DBWS.to_qname('http://www.w3.org/2001/XMLSchema', 'string') ;
cs_qname_type_int CONSTANT sys.UTL_DBWS.qname := sys.UTL_DBWS.to_qname('http://www.w3.org/2001/XMLSchema', 'int');
cs_qname_type_any CONSTANT sys.UTL_DBWS.qname
:= sys.UTL_DBWS.to_qname('http://www.w3.org/2001/XMLSchema', 'anyType') ;
cs_endpoint CONSTANT VARCHAR2(256) := 'http://server:8080/process-manager/ProcessManager';
l_service sys.UTL_DBWS.service;
l_service_qname sys.UTL_DBWS.qname;
l_port_qname sys.UTL_DBWS.qname;
l_operation_qname sys.UTL_DBWS.qname;
l_h_service_call sys.UTL_DBWS.call;
l_params sys.UTL_DBWS.anydata_list;
l_ret_val SYS.ANYDATA;
BEGIN
l_service_qname := sys.UTL_DBWS.to_qname(NULL, 'ProcessManagerService');
l_service := sys.UTL_DBWS.create_service(l_service_qname);
l_port_qname := sys.UTL_DBWS.to_qname(NULL, 'ProcessListServiceBinding');
l_operation_qname := sys.UTL_DBWS.to_qname('http://processmanager.argustelecom.ru/', 'getProcessList');
l_h_service_call := sys.UTL_DBWS.create_call(l_service, l_port_qname, l_operation_qname);
sys.UTL_DBWS.set_target_endpoint_address(l_h_service_call, cs_endpoint);
-- return type
sys.UTL_DBWS.set_return_type(l_h_service_call, cs_qname_type_any);
-- param type
sys.UTL_DBWS.ADD_PARAMETER(l_h_service_call, 'processNameMask', cs_qname_type_string, 'ParameterMode.IN');
l_params(1) := anydata.convertvarchar2('*');
l_ret_val := sys.UTL_DBWS.invoke(l_h_service_call, l_params);
IF l_ret_val IS NULL THEN
DBMS_OUTPUT.put_line('l_ret_val is null');
ELSE
DBMS_OUTPUT.put_line('l_ret_val is not null');
END IF;
sys.UTL_DBWS.release_call(l_h_service_call);
END;
Edited by: Ilya on 03.12.2008 3:50Hi Tony
I'm not sure if you would have solved your problem by now, but with my recent experience with the utl_dbws package, for doc lits with complex data types, you have to call the service with an XML request, as opposed to passing the param array.
If you still need details, reply accordingly.
Ta
cT -
PL/SQL Web Service Optional Parameters
I have created a PL/SQL web service and deployed successfully using Jdeveloper 10.1.3.5. The database is 9.2.0.8.
When the web service request is made, all is well if all parameters are passed.
I have been told that the request might come with some but not necessarily all of the parameters expected by the PL/SQL procedure.
Is it possible when deploying through JDeveloper to indicate that all parameters might not be present?
This is my first web service. Thanks in advance for your assistance.Parameters relate to procedures. Web Services require XML messages.
Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
Just package up the values into the XML and pass it to the web service.
If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}
Maybe you are looking for
-
How to add Attachments in Email Activity ?
Hi, I have a requirement where i need to get the records from database and send those records as an attachment in the email activity. Please help me in this regard. I got the email activity working, but was unable to send the records as an attachment
-
JDBC/SQLJ Team - Please respond - invalid column type error
Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge! I change the way I o
-
If we move the horizontal scroll bar of the table and filter a column when there is a selection on the row, the rows are displayed from the selected row. The rows above the selected rows are disappearing(F5 it come back) and the rows are available wh
-
[b] Populating List Box from MySQL Database[/b]
Hi all, I'm trying to populate a JComboBox from MySQL database, I Have an applet which send's the query to a server through sockets on the localhost, but when i try to retrieve the result set from the MySQL database, i get an index out of bounds exce
-
NFL Mobile - Included but not included?
Hello, I've tried searching the forums because I'm sure this has been answered, so if anyone wants to send a link that'd be great.' As most know by now, NFL Mobile Premium is supposed to be included in More Everything Plans. I received the text and w