Debugging through the code illustrates that you can't just set this property on
the MessageContext object for the Provider, you must set it on the outbound
message object, like this:
((org.apache.cxf.jaxws.context.WrappedMessageContext)messageContext).getWrappedMessage().getExchange().getOutMessa
Hi,
How do I get a java first web service to include encoding="utf-8" in
the ?xml header?
Thanks
Jason
Yes, that's what I meant. What version of CXF? Have you looked at the
WHICH_JARS file? Are you sure you only have one xmlschema jar?
On Wed, Sep 7, 2011 at 6:34 PM, yannick wrote:
> Thank you for your reply.
>
> I looked for the xmlschema 2.0 and didn't find it. Do you mean
> xmlschema-core 2.0?
Hi,
I have a jaxws Provider configured to do WS-Addressing and the defaults seem to
work fine. However, if I try to override some of the WS-Addressing headers in
the MessageContext, it gets ignored. I've tried the following :
AddressingProperties wsaServer = new AddressingPropertiesImpl();
Att
Thank you for your reply.
I looked for the xmlschema 2.0 and didn't find it. Do you mean
xmlschema-core 2.0? I already tried and I received the same result.
The SchemaInfo.class fails on this line:
isElementQualified =
schema.getElementFormDefault().getValue().equals(XmlSchemaForm.QUALIFIED);
You need 2.0.
On Wed, Sep 7, 2011 at 5:46 PM, yannick wrote:
> Hi, I receive the following the exception and tried several Xmlschema
> versions and always receive this errors. I tried version 1.3.1, 1.4.2,
> 1.4.5.
>
> java.lang.NoSuchMethodError:
> org.apache.ws.commons.schema.XmlSchemaForm.getV
Hi, I receive the following the exception and tried several Xmlschema
versions and always receive this errors. I tried version 1.3.1, 1.4.2,
1.4.5.
java.lang.NoSuchMethodError:
org.apache.ws.commons.schema.XmlSchemaForm.getValue()Ljava/lang/String;
at
org.apache.cxf.service.model.SchemaI
Hi Daniel,
I had not thought about that and now viola - with the policy element taken
out of the WSDL manually, the NTLM works even without a
"jcifs.Config.registerSmbURLHandler()" under JDK 1.5. So is there a way to
get CXF to work with the Policy tags as is in the WSDL? I got the following
test c
On Wednesday, September 07, 2011 2:02:56 PM Barry Hathaway wrote:
> Thanks Dan, I'll post a similar question on the FUSE SMX list.
Probably better to just post to the us...@servicemix.apache.org list.
> I understand your comment about the need to have a
> RequestContextListener when using AOP.
Thanks Dan, I'll post a similar question on the FUSE SMX list.
I understand your comment about the need to have a
RequestContextListener when using AOP.
Now, if instead of using AOP, if I switch to using a @FactoryType(value
= FactoryType.Type.Spring, args="sadlServiceProvider")
does that chang
On Wed, Sep 7, 2011 at 6:21 AM, Sergey Beryozkin wrote:
> Hi Alex
>
> I think that has to be improved on the CXF side - I'll try to get to it asap
>
Hi Sergey,
Thanks for your reply. Note that the workaround is easy and not too
ugly, so rush! :)
Regards,
Alex
Dear all,
I've go the following Path-Annotation for my Delete-Method using REST and CXF
2.4.2
@DELETE
@Path("/{userid:.+}/univids/{univid:.+}")
public Response deleteUnivId(@PathParam("userid") final String userId,
@PathParam("univid") final String univid,
On 07/09/11 11:52, Sergey Beryozkin wrote:
Well, you probably need to get ParameterHandler registered to handle
such expressions. If they were structured message payloads then JAXB or
JSON readers would handle it, but in your case it appears you sent
complex JSON expressions as form payloads (in
Well, you probably need to get ParameterHandler registered to handle
such expressions. If they were structured message payloads then JAXB or
JSON readers would handle it, but in your case it appears you sent
complex JSON expressions as form payloads (in POST case at least) - the
default Form pr
Hi Alex
On Tue, Sep 6, 2011 at 10:13 PM, Alex Porras wrote:
> On Tue, Sep 6, 2011 at 4:12 PM, Alex Porras wrote:
>
>> What is happening is that when FooException is thrown in the
>> application, it is being handled by BarExceptionMapper.
>
> I believe I have found the solution. Despite the chil
Wow, that seems like to show a combination of CXF JAXRS & JAXWS code in
action, nice :-)
Sergey
On 07/09/11 10:02, opicina wrote:
With this code it works:
File file = new File(DOC);
FileDataSource ds = new FileDataSource(file);
List attachments = new ArrayList();
Inte
With this code it works:
File file = new File(DOC);
FileDataSource ds = new FileDataSource(file);
List attachments = new ArrayList();
InternetHeaders headers = new InternetHeaders();
headers.addHeader("Content-Type", "application/pdf");
headers.addHeader("Content-ID", "d
Hi,
I have a number of webservices which share entities. I use the IntelliJ IDEA
SoapUI plugin (which uses wsdl2java I presume) to generate java code from
wsdls. I place all the request/response objects and the endpoint interface
and implementations for each webservice in a separate package
(servi
Ok,
what if i want to return my custom soap message instead of .
--
View this message in context:
http://cxf.547215.n5.nabble.com/schema-validation-tp4770364p4777542.html
Sent from the cxf-user mailing list archive at Nabble.com.
19 matches
Mail list logo