Skip to main content

Urgent: Oracle Siebel On Demand - Java Web Service

2 replies [Last post]
bhavin_acharya
Offline
Joined: 2008-08-20
Points: 0

Hi,
Anyone can help me to complete my project, i have pripared a java application to login to Oracel Siebel On Demand site and i got J Session Id.

Now i incorporate my WSDL file with my Application now i want to enter 2 string value to Oracel Siebel On Demand, when i click insert button. program runs well with no error but nothing insert in to Oracel Siebel On Demand. i have written following code on button click event.

Any one can find answer pls mail me on bhavin1277@gmail.com

String firstname = jTextField4.getText().trim();
String lastname = jTextField5.getText().trim();
String sessionid = jTextField3.getText();
//httpbase=https://
//server=run time we have to mention
//sessionid=run time generated session id
Lead lead = new Lead();
lead.getWebsite();
lead.setWebsite(httpbase+server+"/Services/Integration;jsessionid="+sessionid);

LeadWS_LeadInsert_Input input = new LeadWS_LeadInsert_Input();
input.listOfLead = new Lead[1];
input.listOfLead[0] = new Lead();
input.listOfLead[0].getLeadFirstName();
input.listOfLead[0].setLeadFirstName(firstname);
input.listOfLead[0].getLeadLastName();
input.listOfLead[0].setLeadLastName(lastname);
input.listOfLead[0].getLeadOwner();
input.listOfLead[0].setLeadOwner("Bhavin");
Default_Binding_LeadImpl output = new Default_Binding_LeadImpl();
output.leadInsert(input);

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
utteshkumar
Offline
Joined: 2008-08-26
Points: 0

Hi Bhavin ,

Actually what u want your question is not clear...u need to create Webservice for that program or what?

bhavin_acharya
Offline
Joined: 2008-08-20
Points: 0

Thanks uttesh for your reply,i want to create java programming for Oracle Siebel CRM On Demand Web Service.

So i got login and session id, now i want to enter a lead in Oracle Siebel On Demand(OSOD) through java programming, i got a ref. from below link:

http://wiki.netbeans.org/attach/J1PodDemoWebservices/jaxws_service_desig...

I am using Netbeans6.1 IDE, i follow all steps and incorporate .wsdl file with my Java Project.

My Problems:

* i got all classess made by IDE but i donot know which class i should use to enter lead and how?

Please help me to solve this problem, if you want to see my project, pls email me with your email id.

My email id: bhavin1277@gmail.com

Waiting for your reply...