If you start from WSDL
try to get service artifacts by wsconsume
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060703#4060703
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060703
_
Another question...
did you start from WSDL or Java?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060683#4060683
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060683
___
jb
Can You try tu specify the same targetnamespace
both in your service interface and your service implementation?
example:
1) interface
| @WebService(
| name="TheServicePortType",
| targetNamespace="http://www.tai.it/TheService";
| )
| @SOAPBinding(
|
wsconsume "consume" WSDL documents
so from WSDL documents you get Java artifacts.
Your auto-generated WSDL have a "parameters" part
that is an element. It's type is "tns:getTestClass"...
a complex type.
| ...
|
|
|
|
|
| ...
|
| ...
|
|
|
I think so.
If you use wsconsume (very easy to use tool)
you get the correct WSDL/Java mapping.
Looking your WSDL I saw that the input part is a complex type.
Probably you'll get a Java Bean as input parameter.
Sorry for my english, but
I'm italian ;)
View the original post :
http://www.jboss.
Hello Andrea,
haven't you generated your client artifacts using wsconsume?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060492#4060492
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060492
___
In test/client code
when You create QNames
you have to use the namespace, not the service url.
| QName("http://serviceNameSpace/","ServiceName";)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060441#4060441
Reply to the post :
http://www.jboss.com/
Now I understand why You don't use annotations.
I'm sorry, but I cannot help you with JAX-RPC Web service
and WS-Security.
I'm quite sure You have to configure the skeleton artifacts creation
at first step but i don't know how.
Bye
View the original post :
http://www.jboss.com/index.html?modu
Are you developing JAX-WS Web Service or JAX-RPC Web Service?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060258#4060258
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060258
_
My web service code have this import
import org.jboss.ws.annotation.EndpointConfig;
... but I used JBossWS 1.2.1GA
Bye
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060051#4060051
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Can you try to put that annotation now?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060032#4060032
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060032
___
jboss-user mail
Hi Angelo,
I suppose Your service isn't enabled to receive WS-Security SOAP envelopes.
Have you the @EndpointConfig annotation in your code?
| @WebService(endpointInterface="myPackage.SayHelloCiphered",
| serviceName="SayHelloCiphered",
| portName="SayHelloCipheredS
Your problem is Hibernate related.
When you load a persistent object it's related
objects are lazily loaded.
That is these objects aren't actually loaded,
but will be loaded only when you try to access them.
The problem take place when you access
to lazily loaded object proxy when it's owner ses
I'm sorry Rio, I'm at work now and
I can't look JBossWS sources now.
All I can do now is look at client log4j logs.
If I enable WS-Security I can see this where I can find
two times
...HEADER={SOAPAction="", Content-Type=text/xml...
| ...
| DEBUG main org.jboss.remoting.MicroRemoteClientInv
rt_0_31571602.1182853646985
| Content-Type: application/xop+xml; type="text/xml"
| Content-Transfer-Encoding: 8bit
| Content-ID: <[EMAIL PROTECTED]>
|
| http://www.tai.it/ServizioWSSEAttachment";>http://www.w3.org/2004/08/xop/include";
href="cid:attachment
I develop on Linux.
I use Wireshark (ex ethereal) sometimes,
but I usually sniff SOAP messages with apache tcpmon
http://ws.apache.org/commons/tcpmon/
Bye
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057590#4057590
Reply to the post :
http://www.jboss.co
Hello Rio,
i agree with You.
Do You know how to develop a
JBossWS Web Service with both attachment and
WS-Security encryption?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057570#4057570
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
Exposed interface method
| @WebMethod
| @WebResult(name="responseMessage")
| public ResponseMessage eleaborateMessage(
| @WebParam(name="requestMessage")
| RequestMessage message);
|
Request bean
| public class RequestMessa
Thank you for your links mr_d, they are very interesting.
Now I'm sure that my Web Services behaviour is not correct :-( .
Request Headers
| POST
/servizioJBossCipheredSigned/ServizioJBossCipheredSigned?datatype=JBossWSMessage
HTTP/1.1
|
| Authorization: Basic bXlVc2VybmFtZTpteVBhc3N3b3
Ok,
but have the MTOM attachment to be inlined or not
when WS-Security signature or encryption is activated?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057316#4057316
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
Ehm... sorry my last reply was only a code snippet...
Service implementation
|
@WebService(endpointInterface="serviceJBossCipheredSigned.ServiceJBossCipheredSigned",
| portName="ServiceJBossCipheredSignedSOAP",
| serviceName="ServiceJBossCipheredSigned"
| )
| @B
Hello,
i did it,
and i got the attachment inlined in the soap body
encrypted (is it right?).
Be sure you annotated the service implementation class
| @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
| @EndpointConfig(configName = "Standard WSSecurity Endpoint")
| public
Example:
wsconsume.sh -k -s src/ http://myContext/myService?wsdl
where:
-k : keep artifact sources from deletion
-s: source folder
Bye
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055966#4055966
Reply to the post :
http://www.jboss.com/index.html?modu
23 matches
Mail list logo