-
1. Re: Getting issue in creating web service model from WSDL
rareddy Oct 20, 2011 9:30 AM (in response to smehrotra)Are you trying to create a web service (WSDL into Web Service Model) or consume a web service(WSDL Into Relational source Model)?
-
2. Re: Getting issue in creating web service model from WSDL
tejones Oct 20, 2011 10:08 AM (in response to smehrotra)Sachin,
I was able to import your WSDL into a web service model with 7.4. Are you importing from a file or a URL?
Thanks,
Ted
-
3. Re: Getting issue in creating web service model from WSDL
smehrotra Oct 20, 2011 10:22 PM (in response to rareddy)I am trying to consume the web service, even though i also tried to create the web service an got the same issue at both places
-
4. Re: Getting issue in creating web service model from WSDL
smehrotra Oct 20, 2011 10:28 PM (in response to tejones) -
5. Re: Getting issue in creating web service model from WSDL
rareddy Oct 21, 2011 11:10 AM (in response to smehrotra)Sachin,
I used Teiid 7.5, and I could create both the consuming and producing models. When creating the WSDL -> Source Model I did have this error
https://issues.jboss.org/browse/TEIIDDES-1121
however when I unchecked one operation it worked fine. Later I could do the same with all operations.
Ramesh..
-
6. Re: Getting issue in creating web service model from WSDL
smehrotra Oct 22, 2011 12:11 AM (in response to rareddy)Ramesh,
It seems that might be i am missing some basic step in creating model or something wrong in my environment. Below are steps and environment which i am using, please correct me if i doing something wrong
Environment : Eclipse Java EE 3.6.1 + Teiid Designer 7.4
Steps ( Web Service Model):
- Open Teiid Designer perspective
- Created Teiid Model Project
- Selected Import WSDL into WebService Model
- Picked WSDL from FileSystem Option and Press next
Got error after pressing next
Thanks,
Sachin
-
7. Re: Getting issue in creating web service model from WSDL
rareddy Oct 24, 2011 8:08 AM (in response to smehrotra)Sachin,
Did you click "validate WSDL" button? Then after, uncheck and check the operation names.
Ramesh..
-
8. Re: Getting issue in creating web service model from WSDL
mehta35 Jun 6, 2012 11:53 PM (in response to rareddy)Hi,
Was there a successful resolution of this issue? Am also stuck at the same point.
cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'
when i try to validate my WSDL.
Using eclipse indigo 3.7.2, teiid designer 7.7 (also tried in 7.6 and then upgraded to 7.7) , java 6 update 32 , jboss server 5.1
used the same hello_world.wsdl posted above
thanks
Saurabh
-
9. Re: Getting issue in creating web service model from WSDL
rareddy Jun 7, 2012 9:40 AM (in response to mehta35)Saurabh,
Is it possible to share your WSDL? to check to see why this is case?
Thanks
Ramesh..
-
10. Re: Getting issue in creating web service model from WSDL
tejones Jun 7, 2012 4:20 PM (in response to mehta35)Saurabh,
We have not been able to reproduce this issue using the attached hello_world.wsdl. You indicate that you try to validate your WSDL... there is no validation button on the WSDL to Web Service model importer, so I assume you are using the WSDL to Source importer? One way this error may show itself is if you are on a Windows box and save the WSDL using IE or some other editor that may add additional characters. If you are on a Windows box, please try opening the WSDL in a simple editor and saving. Then try to re-import.
Thanks,
Ted
-
11. Re: Getting issue in creating web service model from WSDL
mehta35 Jun 8, 2012 3:48 AM (in response to tejones)Hi Ramesh,Ted,
Thanks for the response.
I tried multiple WSDL's and having same issues with all of them. Also tried the method Ted suggested but again no luck.
I get different responses when I upload from file system Vs when I directly put URL:
From file system:
An error was encountered parsing the WSDL
javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.From URL:
An error was encountered parsing the WSDL
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://confidentialURL?wsdl'.: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.May be i am missing or have wrong version of libraries.
BTW: I tried the same in Jboss Studio 4.1.2 and doesnt work there either.
-
12. Re: Getting issue in creating web service model from WSDL
rareddy Jun 8, 2012 9:53 AM (in response to mehta35)Saurabh,
You need to use the following import option for consuming.
I tried the hello world above I did not see any issues.