Hi all,
I have a problem with JAXB unmarshalling. First I marshall to a XML:
| <reservationCalendars>
| <resource name="jawa02">
| <reservations>
| <reservation to="2009-11-23T17:13:20.576+01:00" from="2009-11-13T17:13:20.576+01:00" forUser="ozizka"/>
| </reservations>
| </resource>
| <resource name="jawa01">
| <reservations>
| <reservation to="2009-11-18T17:13:20.576+01:00" from="2009-11-13T17:13:20.576+01:00" forUser="ozizka"/>
| <reservation to="2009-11-23T17:13:20.576+01:00" from="2009-11-19T17:13:20.576+01:00" forUser="oskutka"/>
| </reservations>
| </resource>
| </reservationCalendars>
|
Then I unmarshall it, but JAXB reads this:
| <reservationCalendars>
| <resource name="jawa02">
| <reservations>
| <reservation to="2009-11-23T17:13:20.576+01:00" from="2009-11-13T17:13:20.576+01:00" forUser="ozizka"/>
| <reservation to="2009-11-18T17:13:20.576+01:00" from="2009-11-13T17:13:20.576+01:00" forUser="ozizka"/>
| <reservation to="2009-11-23T17:13:20.576+01:00" from="2009-11-19T17:13:20.576+01:00" forUser="oskutka"/>
| </reservations>
| </resource>
| <resource name="jawa01">
| <reservations/>
| </resource>
| </reservationCalendars>
|
It's most likely an error in my JAXB annotations.
Anyone has ever seen this? Any idea what could cause this? I can post the code if necessary.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265620#4265620
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265620
I am using wsconsume from a wsdl with the following policy:
<wsp:Policy wsu:Id="MimePolicy">
<wsoma:OptimizedMimeSerialization
wsp:Optional="true" />
</wsp:Policy>
The name space comes from
xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"
It is referenced by:
<wsdl:binding name="SomeBinding" type="SomeService">
<wsp:PolicyReference URI="#MimePolicy" />
...
The problem is when when my client is run against the wsdl an exception is thrown.
Exception in thread "main" org.jboss.ws.WSException: Policy not supported! #MimePolicy
I am at a loss as to what to do to fix the problem. I am using the native jboss-ws. Any help would be appreciated.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265612#4265612
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265612
Hi there, this must be a really basic question - but still one which I could not find anything about,
I have installed JBoss WS 3.2.1 on JBoss 5.1.0.GA and everything works fine, I can see:
11:56:37,697 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 11:56:41,805 INFO [AbstractServerConfig] JBoss Web Services - CXF Server
| 11:56:41,805 INFO [AbstractServerConfig] 3.2.1.GA
However if I run the server using
run.bat -c minimal
The WS stack is not initialised. Which files/folders should I copy from the deploy directory to get this to work ?
(I want it only to run the basic services and the web service stack)
Many Thanks
JP
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265464#4265464
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265464
I've scanned the patch, thanks. I've just one concern, ie. whether it's a bit too aggressive rewriting a "file://foo-bar" address with one using http protocol, as theoretically that might refer to a jms binding.
So you might want to enhance the patch a bit scanning the model, getting the binding corresponding to the address being analysed and verifying the soap:binding in use before rewriting "file" to "http(s)".
Btw, besides fixing this which is good in anycase, did you try providing an address without procotol (simply "replace-me" for instance) in your wsdl as a workaround?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264983#4264983
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264983