• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java code to connect Siebel webservice

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?

 
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AXIS . i tried with wsdl2java and also i tried same thing in eclipse .
 
Naren Chivukula
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic