Hi
REST style architecture, being based on HTTP specification, has common
conventions like GET, POST typically also used by Servlets. Any idea why one
would prefer RESTful Web service and not plain Servlet based framework. Its
Web and HTTP in the end. I know this question may not be directly relat
Hi,
I think I had the same question some days ago. Check this:
http://cxf.547215.n5.nabble.com/Problem-with-validation-of-SOAP-headers-td4686434.html
Cheers
Andi
--
View this message in context:
http://cxf.547215.n5.nabble.com/Schema-validation-is-not-validating-elements-from-SoapHeader-tp47055
I would annotate the getColumnNames() and getResultSet() with
@XmlElementWrapper and annotate the QueryResultSet class with
@XmlRootElement
Rob
On Thu, Aug 18, 2011 at 1:22 AM, Barry Hathaway wrote:
> I have a method that returns a class containing a couple of lists; however,
> when it executes
This got even more weird. My service war includes bcprov-jdk16-1.43.jar which
has this class.
--
View this message in context:
http://cxf.547215.n5.nabble.com/java-lang-NoClassDefFoundError-org-bouncycastle-asn1-pkcs-PrivateKeyInfo-tp4710843p4710930.html
Sent from the cxf-user mailing list archiv
Thank you for your reply!
I draw a Sequence Diagram to explain my demand.
http://cxf.547215.n5.nabble.com/file/n4710872/Pic.jpg
1.You can see the Part 1 in the Picture.
I understand the CPE is Client A and the ACS is Server.
As you see the Client A communicate with Server by Inform SOAP
Does CXF 2.4.1 have a dependency on a bouncycastle library?
The reason I ask is that we are running CXF 2.4.1 web services on a WLS 11
RHEL 5.5 machine with JDK 1.6.24 and in one environment my web services with
digital signatures (via WSS4J) they work and then in my other environment it
throws th
Bugs are submitted. Patches are created, tested, and license granted on:
rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
(revision 1158970)
I checked out the 2.4.1 tag from SVN and patched on that since I am testing on
2.4.1. I tested by running "mvn -Pfastinstall insta
Thank you for your reply!
I draw a Sequence Diagram to explain my demand.
http://cxf.547215.n5.nabble.com/file/n4710824/Pic.jpg
1.You can see the Part 1 in the Picture.
I understand the CPE is Client A and the ACS is Server.
As you see the Client A communicate with Server by Inform SOAP
Hi UlhasBhole!
Thank you for your reply.
I think I want to explain my mean with a Sequence Diagram.
http://cxf.547215.n5.nabble.com/file/n4710796/Pic.jpg
1.You can see the Part 1 in the Picture.
I understand the CPE is Client A and the ACS is Server.
As you see the Client A communicate
I have a method that returns a class containing a couple of lists;
however, when it executes I get:
javax.xml.bind.JAXBException: class java.util.ArrayList nor any of its
super class is known to this context.
The method is:
@WebMethod(operationName="query", action="urn:query")
public
On 17 August 2011 23:21, Kent Närling wrote:
>
> On 17 August 2011 18:08, Daniel Kulp wrote:
>
>> On Wednesday, August 17, 2011 4:17:58 PM Kent Närling wrote:
>> > I tried ad-hoc and just wrote the interface myself as:
>> >
>> > @WebService
>> >
>> > public interface MyService
>> >
>> > {
>> >
>
Hi,
I'm unable to define the correct policy for SAML_TOKEN_SIGNED. The following
gets the STS token and includes it in the request, but now I need sign the
message.
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient";>
They both look like bugs to me. Log some issues and patches are ALWAYS
welcome. :-)
Dan
On Wednesday, August 17, 2011 4:19:13 PM Jesse Pangburn wrote:
> Hi,
> I found the cause of the problem to be a bug in this method in CXF (I have
> version 2.4.1): private Map
> createPayloadEleOpNameMap
Hi,
I found the cause of the problem to be a bug in this method in CXF (I have
version 2.4.1):
private Map createPayloadEleOpNameMap(BindingInfo
bindingInfo) {
Map payloadElementMap = new java.util.HashMap();
for (BindingOperationInfo bop : bindingInfo.getOperations()) {
Hi,
The default actions are defined in WSHandlerConstants (the source code would
help)
Also, see this page: http://cxf.apache.org/docs/ws-security.html
Which one to use depends on the security chosen by the service. If there is no
policy config in the wsdl, I think you should know from the provid
Please help me , what are the possible values for action and how to decide
what to use ?
Please tell me the value of action should is it something service
provider has to give me?
I have no clue what to use there , please advice me. Appreciate help.
--
View this message in context:
http:
Hi Oliver,
Following the jaxws-ws-trust example for WS-SecurityPolicy with STS, I was able
to configure the STSClient bean in the jaxws:client bean configuration. The
example shows SymmetricBinding. Is there an example for the case where the
outgoing request needs AsymmetricBinding ?
Thanks
Vi
Hi Dan,
Thanks for the suggestion, I'm trying to figure out one of those cases. I
changed the code to this to try a DOMSource instead:
Dispatch disp = service.createDispatch(new
QName("urn:ihe:iti:xds-b:2007", "DocumentRegistry_Port_Soap12"), Source.class,
Service.Mode.PAYLOAD, new Addr
On Wednesday, August 17, 2011 12:15:53 PM Jesse Pangburn wrote:
> Hi,
> Thanks for the suggestion, that will work. I was hoping there was some way
> for CXF to do it automatically from the WSDL and the message body, but this
> manual step is at least simple and makes sense.
In SOME cases it can,
Hi,
Thanks for the suggestion, that will work. I was hoping there was some way for
CXF to do it automatically from the WSDL and the message body, but this manual
step is at least simple and makes sense.
Thank you,
Jesse
-Original Message-
From: Aki Yoshida [mailto:elak...@googlemail.co
On Wednesday, August 17, 2011 2:41:05 AM GerryChenStarNet wrote:
> Hi everyone!
>
> I have a question of CXF Client Transports.Can I replace the HTTPConduit of
> Client with other HTTPConduit?
Sure. You can pretty much always grab the HTTPConduitFactory out of the
ConduitInitiatorManager and ei
> My client code is:
>
> ClassPathXmlApplicationContext context = new
> ClassPathXmlApplicationContext(new String[] { "cxf-client.xml" });
> QueryServicePortType port = context.getBeanFactory().getBean("utClient");
> port.search("query");
>
> What should I do to get the UsernameToken policy in t
Is it a bug that CXF is not validating the headers or is it working this way
by design?
If I look into ReadHeadersInterceptor, the CheckClosingTagsInterceptor is
added to the interceptor's chain but when the message is handled there the
XMLStreamReader is already pointing to the Body. Therefore th
On Wednesday, August 17, 2011 7:52:29 AM jamesnmullen wrote:
> I have written a Java first web service, one of the methods needs to return
> an audio file.
>
> The consumer on this web service only supports SwA (soap with attachments),
> I am struggling to get the wsdl to include the necessary mim
On Wednesday, August 17, 2011 4:17:58 PM Kent Närling wrote:
> I tried ad-hoc and just wrote the interface myself as:
>
> @WebService
>
> public interface MyService
>
> {
>
> @WebMethod(operationName = "doSomething")
>
> Future doSomething(
>
> @WebParam(name = "someParam") String someParam,
Hi,
I have a service binding provider based on my WSDL. Now, after I start the
endpoint, I want to use the Endpoint and reset the service URLs in the WSDL.
Is this possible in CXF 2.3.x? If so how?
Thanks,
Anil
I have written a Java first web service, one of the methods needs to return
an audio file.
The consumer on this web service only supports SwA (soap with attachments),
I am struggling to get the wsdl to include the necessary mime:part elements
so that the audio files is sent as an attachment and no
I tried ad-hoc and just wrote the interface myself as:
@WebService
public interface MyService
{
@WebMethod(operationName = "doSomething")
Future doSomething(
@WebParam(name = "someParam") String someParam,
AsyncHandler asyncHandler);
}
But with this I just god the error : "Could not find wsd
Hi,
I have the wsdl for a service from which I generated the client stubs. I have
the following configuration:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:http="http://cxf.apache.org/transports/http/configuration";
xm
Hi Gerry,
As per my understanding Conduit is generally used by client/consumer and
Destination by server to respond to the request that is to be consumed by
consumer.
Are you trying to say you have a Endpoint implementation on Server side which
acts like a client for some other service? If th
Hi,
Thanks a lot for providing different ways to enabling or disabling the MTOM.
I could able to have a inline Base64Binary by disabling the MTOM and
increasing the MTOM threshold(1024).
I understood that MTOM will be enabled for attachment when threshold is
crossed, even through MTOM is disabled.
Hi,
you need to set the soap action in the dispatch client's request context.
In your case, you need to add the following line:
disp.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY,
"urn:ihe:iti:2007:RegistryStoredQuery") ;
Regards, aki
2011/8/17 Jesse Pangburn :
> Hi,
> I'm tryi
Hi!
We declare our SOAP interfaces in java and then build the WSDL:s from the
java code since 99% of our clients are in java and to make it most
convenient for them we have decided to follow this path.
eg we might have a sample service declared like:
@WebService
public interface MyService
{
@
33 matches
Mail list logo