• 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

SOAP endpoint: interpretation?

 
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WSDL declares endpoint to access web-service:

The endpoint uses custom transport (CTP), opens port and listens for custom packets. How can I invoke the service based on "soap12:address"?
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How can I use address like "CTP://127.0.0.1:5432/services/MyService.MyServiceCtpSoap12Endpoint/" ?
 
Ranch Hand
Posts: 49
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a WCF service, isn't it?

Generally speaking, to use any custom protocol you need a client library. In this case, that library is available if your client is a .NET client, too. I think you should post your question in one of MSDN's forums to get better visibility.
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Amir Keibi wrote:This is a WCF service, isn't it?


This is a web-service deployed on AXis2.

Amir Keibi wrote:Generally speaking, to use any custom protocol you need a client library. In this case, that library is available if your client is a .NET client, too. I think you should post your question in one of MSDN's forums to get better visibility.


Am I correct that to use this endpoint URI, the custom library must have a parser that will extract schema, ip-address, port and connect there?
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this question is too difficult for “beginning”, so I shall move it.
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:I think this question is too difficult for “beginning”, so I shall move it.


Awesome, it's definitely very informative. Could you try to answer it? Because I have no idea how can I use URI with custom schema.
 
Amir Keibi
Ranch Hand
Posts: 49
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

surlac surlacovich wrote:Am I correct that to use this endpoint URI, the custom library must have a parser that will extract schema, ip-address, port and connect there?



Yes. But it isn't just the parsing. It also has to know the underlying transportation protocol, message formats, etc.
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Amir Keibi wrote:
Yes. But it isn't just the parsing. It also has to know the underlying transportation protocol, message formats, etc.


Thanks Amir, it's getting more clear now.
In case of web-services (WS), if one send SOAP envelope to WS engine (e.g. AXis2) with endpoint "CTP://127.0.0.1:5432", the engine will parse the endpoint string and invoke TransportSender for CTP protocol. In this case the sender should 'know' how to construct messages according to CTP and send it to specified IP on port 5432.
Something like that?
 
Amir Keibi
Ranch Hand
Posts: 49
Eclipse IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Generally true. Although I can't be sure about the detail of communicating through CTP.

By the way, does this help?

http://wso2.org/library/209
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot, this article is very helpful. It looks like if there is a sender defined for CTP transport, it will be invoked by axis every time you specify it in "To" header. So you can do additional URL parsing in the sender.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic