• Post Reply Bookmark Topic Watch Topic
  • New Topic

java code to connect Siebel webservice  RSS feed

 
rashmi shivanna
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am trying to connect siebel web service using java code . The WSDL file name contains space . so the java packages are generated with the space Like FT Create Contact . So the files are not getting complied . I checked in few sites they have mentioned Siebel web service can contain space .And this webservice is maintianed by thirdy party client so we don't have access to change the web service name . How to solve this problem . Any Help on this please ?

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rashmi,
The WSDL file name contains space

This has nothing to do with generated packages containing spaces unless your WSDL is badly formatted. Did you check if your WSDL is well-formed and validated? If yes, did you create sample requests in SOAPUI? Will you be able to post your WSDL?
 
rashmi shivanna
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I tested the wsdl file in eclipse with option Test with the webservice explorer . I am able to connect to web service and send the data to webservice and we got the response back . So the wsdl file is working fine . When i generate the webservice client in eclipse files are created with space . so i am not able to compile and test with the java code .

Regards
Rashmi
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so the java packages are generated with the space

Which web services API you are using to generate java client artefacts?
 
rashmi shivanna
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AXIS . i tried with wsdl2java and also i tried same thing in eclipse .
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid, I can't just think in air what might be cause of the problem. So, unless you provide me WSDL, I can't help you.
 
rashmi shivanna
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
sorry i couldn't attach my wsdl file here . so i have sent mail to your email id .

Regards
Rashmi
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That helps!

Okay, I checked your WSDL and xsdLocal1 namespace contains spaces, which is valid for a WSDL. But when getting mapped to java package name, Axis creates such packages with spaces by default. To fix that, map the problem namespace to a package without spaces like below!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!