-
1. Re: WSDL import and SOLR connection profile
akhilkg1987 Aug 24, 2011 6:26 AM (in response to akhilkg1987)Ramesh !!am stuck here..please guide
-
2. Re: WSDL import and SOLR connection profile
rareddy Aug 24, 2011 8:38 AM (in response to akhilkg1987)Akhil,
I suspect there is some issue with the WSDL, did you click the "details" button when validate button is clicked? That should tell you if there are any errors in WSDL.
When you selected "import" -> "WSDL into Relational Model", the first dialog box that shows up walks you through the connection profile. If there is any errors in WSDL this will not succeed. Also, you can specify the endpoint in this wizard.
Modeshape is not designed for this type of functionality.
Ramesh..
-
3. Re: WSDL import and SOLR connection profile
akhilkg1987 Aug 24, 2011 10:43 AM (in response to rareddy)Yeah ramesh I clicked the details tab too and there it showed that the WSDL file could not be read.
I have tried the same process for 3-4 different WSDLs but it wasnt working.
Can you tell me what all is neccessary in connection profile as I just browsed to the WSDL file and clicked test connection which showed ping successful.
also please throw some light over what endpoint do we need to specify and is it neccessary in creating a profile?
-
4. Re: WSDL import and SOLR connection profile
jdoyle Aug 25, 2011 11:31 AM (in response to akhilkg1987)If you import the WSDL file into your workspace you should be able to right click it in the explorer view and run validation. This will not get you past the issue, but we use the same validatior so it may provide a different view of the problem. We might learn something.
You can ignore the Ping button, we used the built in Eclipse WSDL Connection Profile and that ping button was built in but it does nothing.
The endpoint that's needed for the binding is the URL to the service endpoint. I don't think that's going to help you much because you have a good deal of manual work ahead of you if we don't get the importer to handle your WSDL.
-
5. Re: WSDL import and SOLR connection profile
akhilkg1987 Aug 30, 2011 4:48 AM (in response to rareddy)hi Ramesh,
I wish to know what is the differrence between Jboss Application server and a JBoss Enterprise Data Services server?
I am using JBOSS AS 5.1.0 and recently in an example,I need to deploy something known as EAR to JBoss Enterprise Data Services server.
Kindly give me some pointers on this.
-
6. Re: WSDL import and SOLR connection profile
akhilkg1987 Aug 30, 2011 5:41 AM (in response to akhilkg1987) -
7. Re: WSDL import and SOLR connection profile
rareddy Aug 30, 2011 8:39 AM (in response to akhilkg1987)Akhil,
Good Question!
JBoss AS 5.1.0 + Teiid == free, community version, means no SLAs and *no* professional support from Redhat. Only community support thru forums only. Latest and greatest version, always moving on with new features. Does not include any other SOA components. Even though we test these versions with the help of the community users, this is not recommenced for production environments.
JBoss Enterprises Data Services == paid, subscription version from Redhat, a product which is built from stable versions of Teiid and other SOA components, that is fully tested and comes with full support from Redhat with SLAs for up to 7 years. Recommended for production deployments.
Hope this helps understand the difference.
Ramesh..
-
8. Re: WSDL import and SOLR connection profile
jdoyle Aug 30, 2011 11:32 AM (in response to akhilkg1987)1 of 1 people found this helpfulAkhil,
The way that XML is consumed changed between the last MetaMatrix release and the Teiid releases. The Tables and Columns have been replaced by procedures that can build and/or parse the XML elements defined in the WSDL. Take a look at these blog posts for an overview.
http://community.jboss.org/people/jdoyle/blog/2010/10/04/modeling-soap-services-with-teiid-designer
~jd
-
9. Re: WSDL import and SOLR connection profile
akhilkg1987 Sep 2, 2011 12:48 AM (in response to rareddy)Yes,I got it..
Thanks Ramesh
-
10. Re: WSDL import and SOLR connection profile
akhilkg1987 Sep 2, 2011 5:32 AM (in response to jdoyle)Hi John,
Thankyou so much for that lucid article.Noobs like me wish that everything is explained in the same manner.I have tried the example quoted by you and was able to see the tables and columns at an instance.
Kinldy clarify some more concerns,
1) when I am trying to create a data source for CountryInfoService,I get the following error
remote.org.teiid.adminapi.AdminComponentException:Failed to prrocess template
Even though my JBOSS AS is running and an admin connection was set.
How can I rectify this error?
2)Is the query that you have quoted for example to generate tables i.e
SELECT
CapitalCityResult AS CapitalCity, countryISOCode AS ISOCode
FROM
ops.GetCapitalCity AS occ
WHERE
countryISOCode = countryISOCodeto be used by generating a new base table(new child-->new base table) in view model OP??
Thanks
Akhil.
-
11. Re: WSDL import and SOLR connection profile
akhilkg1987 Sep 5, 2011 1:33 AM (in response to jdoyle)Hi John and Ramesh,
While trying to execute the virtual procedure GetCapital City in ops I am getting following error:
Remote org.teiid.core.TeiidProcessingException: A connection factory was supplied, but no implementation was provided getConnection
I used the following method to execute it
exec GetCapitalCity(
'100');I am getting the same error while trying to execute other virtual procedures too.Kindly guide.
Thanks
Akhil
-
12. Re: WSDL import and SOLR connection profile
rareddy Sep 6, 2011 9:10 AM (in response to akhilkg1987)Akhil,
During the import of "WSDL into Relational source model", did you create "Web Services Data Source"?
The error is indicating that you have not set the translator name on your model on your vdb.
Ramesh..
-
13. Re: WSDL import and SOLR connection profile
akhilkg1987 Sep 7, 2011 4:47 AM (in response to rareddy)Hi Ramesh,
During the import process,i didnt find any provision for making a Data source..I did that once the physical model was imported.
I chose set connection profile as the one that i made before importing the wsdl..
then i chose create data source..there with the same profile I was unable to create the data source..so I tried the default and the data source was visible under the teiid instance.
I was also discussing the connection profile issue at:
http://community.jboss.org/thread/171938?tstart=0
also kindly take a look at:
http://community.jboss.org/message/625174
Thanks,
Akhil
-
14. Re: WSDL import and SOLR connection profile
rareddy Sep 7, 2011 10:27 AM (in response to akhilkg1987)As the other thread suggests install CXF first.
Ramesh..