Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

data service url gives error

 
Ranch Hand
Posts: 1325
1
  • 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
 
Rancher
Posts: 43016
76
  • 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.
 
shawn peter
Ranch Hand
Posts: 1325
1
  • 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: 43016
76
  • 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.
 
shawn peter
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i used below url too.



same result.
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • 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.

 
shawn peter
Ranch Hand
Posts: 1325
1
  • 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.
 
shawn peter
Ranch Hand
Posts: 1325
1
  • 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: 43016
76
  • 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?
 
shawn peter
Ranch Hand
Posts: 1325
1
  • 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
 
shawn peter
Ranch Hand
Posts: 1325
1
  • 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.

 
The City calls upon her steadfast protectors. Now for a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic