GeeCON Prague 2014*
The moose likes Web Services and the fly likes RMH book page 49 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "RMH book page 49" Watch "RMH book page 49" New topic
Author

RMH book page 49

Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
I start to read web service RHM book,
I see on page 49(and before too) Listing 3-12, that instance show a new namespace ---> "addr" but on page 48 Listing 3-11, schema declares a namespace with other name --> "mh" so why in Listing 3-12, instance of Document use another namespace name???
thanx
[ October 04, 2005: Message edited by: Reza Ravasizadeh ]

Reza
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
No body answer me
Kay Ra
Ranch Hand

Joined: May 03, 2005
Posts: 80
The answer to your question as per me is as follows

1. On page 48- the schema for address type elements has been defined and the target name space is the jwsbook.

2. listing of 3-12 shows how this can be used. they used xmlns prefix addr:....... That was just a e.g. how one can use address
you can use anything else.

3. the listing under 3.1.5 is not related to listing 3.12., this list under the section 3.1.5 uses mh as prefix, but itis the same namespace jwsbook. Also note that in 3.1.5 para author says this is part of listing 3.5 -

So not confuse the 2 listing on page 49.



kay
[SCWCD]
[SCBCD]
 
Don't get me started about those stupid light bulbs.
 
subject: RMH book page 49