• Post Reply Bookmark Topic Watch Topic
  • New Topic

data service url gives error  RSS feed

 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a data service using below URl.when i try the service using Try this service it gives me the resuls also.

Example

it gives me two URL for my service.



but when i try to use that url's in broser it gives me error.please find the atatchment below for error and wsdl file.
error.jpg
[Thumbnail for error.jpg]
error
project1.jpg
[Thumbnail for project1.jpg]
wsdl file
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right: The URL you're using is different from the one listed in the WSDL.

Also: you really need to drop the habit of posting screenshots of text. I believe you have been asked multiple times not to do that. Now would be a good time to finally stop doing that, before people get tired of it and just stop replying to your posts.
 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used below url also . i am getting error.



error

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That URL isn't listed in the WSDL, either. You need to pay attention to detail.
 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i used below url too.



same result.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The WSDL lists all the valid URLs; why do you continue to use invalid URLs? That's a waste of time:
You need to pay attention to detail.
 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried most of the URl's which in wsdl.please tell me which url to use.anyway dashboard gives below details.i tried those url also.but those also gives error.



error



Also i replace the "192.168.1.2" with localhost.but same result.
 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Above is the part of my wsdl file.So why it gives me several endpoints?
how to test these url's working fine.anyway i test he service using using Soapui.it's working fine.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a different WSDL than the one you posted at first; are you certain that this one is now the correct one?
 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when we create a Data service using Wso2 Data service its generate two wsdl files.
This is first one


This is second one.


Anyway when i test the servie using SoapUi i used first wsdl file.It gives the expected result when i test using first wsdl file.

please see the below example which i used to create this data service.last part of this example shows it generate two wsdl files.
Data Service example
 
sam liya
Ranch Hand
Posts: 1269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
finally it's done.I have to enter the operation name at the end of url(StudentOperation).
All the below url's give the results.anyway i do't have clear idia about what are the differences among those url's.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!