• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

SCDJWS question about JAXR and soap

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have recently started to study for the SCDJWS and here some questions:
1.
Is this valid wsdl must not port have a service parent
<definitions .... >
<port .... >
<binding .... >
<soap:address location="uri"/>
</binding>
</port>
</definitions>

The example is from http://www.w3.org/TR/wsdl#_soap:address

2.
Could you say that when you configure you wsdl to rpc/litratrure you will get something that is similar to XML-RPC protocol except for the soap-header and soap-body.

3.
in Mikalai Zaikin study guide he says that "LifeCycleManager - for level 1 (we MUST NOT use this interface according to WS-I BP 1.1) " http://java.boot.by/scdjws5-guide/ch06.html but there are methods in the LifeCycleManager like createOrgnaistion that is a Level 0 what does he mean should you never use the LifeCyckleManager if you want to comply whit the BP 1.1.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Lars carlson wrote:
Is this valid wsdl must not port have a service parent
<definitions .... >
<port .... >
<binding .... >
<soap:address location="uri"/>
</binding>
</port>
</definitions>


Yes, a <port> element must have a <service> element as parent, but:
They have probably left out the <service> element, since the section talks about the <binding> element and you are given the context of the <binding> element by showing the <port> element.


Could you say that when you configure you wsdl to rpc/litratrure you will get something that is similar to XML-RPC protocol except for the soap-header and soap-body.


Well, there are similarities but also differences, for instance regarding parameter passing. Since you are preparing for the certification, I recommend that you implement a RPC/Literal web service and, perhaps using soapUI, tests it. SoapUI will let you look at the SOAP messages sent to, and received from, the web service so you will be able to see what such messages look like.

Finally, as far as I understand, WS-I Basic Profile only sanctions UDDI registries - it does not go into details concerning which interfaces etc. in JAXR that may or may not be used.
All capability level 0 methods may be used, since these are supported by UDDI registries.
Best wishes!
 
Remember to always leap before you look. But always take the time to smell the tiny ads:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic