Hi,
I have two quick questions about how the M1 helloworld e4x sample is
working. Basically, the naming conventions seem off which is quite
confusing.
I was looking at the M1 samples in order to understand how the URLs are
created for deployed WS.
It was under the impression that it is: http:/[host]:[portnum]/[name
of webapps subdirectory]/services/[entry point name]
1) the e4x hellworld sample uses the same url in its port as that for
the pojo helloworld sample:
location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"
It also says to use the same client as the POJO sample. Why is that
not 'helloworlde4xws' after the port number since that is the name of
the webapps dir where this sample is?
2)The reference element in an entry point is usually
componentName/serviceName. The helloworld pojo sample does that exactly,
using:
<reference>HelloWorldServiceComponent/HelloWorldService</reference>
But the E4X one drops the service name (even though it does define it in
its componentType side file) in its reference element:
<reference>HelloWorldComponent</reference>
Can anyone please clarify whether the sample is correct, and if so how
come it works ?
Maybe: things defaulting to certain values somewhere ? is there a
precedence order for clashing URLs? is the port element ignored
altogether ? are we supposed to only deploy one or the other of the ws
samples and use the same directory name in the tomcats webapps dir ?
thanks,
Rania
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]