Not that this suggestion would help, but in my post, I had a similar error
about not finding a serializer. You can read about it here... I was attempting
a very similar thing... (array of complex types).
[EMAIL PROTECTED] wrote : I am eager to see this deployment that works in
jboss-4.0.1 and fails in jboss-4.0.2.
|
| Please create a jira issue and attach a sample deployment (with source)
that shows your problem.
Ok... after hours of deploying and undeploying - and testing and what not...
kanno wrote : [EMAIL PROTECTED] wrote : I am eager to see this deployment
that works in jboss-4.0.1 and fails in jboss-4.0.2.
| |
| | Please create a jira issue and attach a sample deployment (with source)
that shows your problem.
|
| Ok... after hours of deploying and undeploying
[EMAIL PROTECTED] wrote : The release notes of jboss-4.0.2 tell you about a
change in default of
|
|
| | !-- A flag indicating if the JBoss Loader should be used. This
loader
| | uses a unified class loader as the class loader rather than
the tomcat
| |
didi wrote : [EMAIL PROTECTED] wrote :
| | Now that said, wscompile has issues with document/literal and will
always wrap parameters (even if there is only one parameter). So, don't rerun
wscompile because it will attempt to rewrap your wrapper object.
| |
|
| that is the
mkprim wrote : Hi , I'm using JBoss 4.0.2 jax-rpc services.
| I use the jwsdp (wscompile) for xml and wsdl generation from an interface.
| This is my interface:
|
| | package com.primary.server.analitics;
| | import com..ev.AnaliticUpdate;
| |
| | public interface
I'm wondering if there's anyway to see into the Typemapping registry at
runtime... I want to see why there's no mapping for the type SeacProfileBean
when I can see the mapping in the wsdd file in the data directory... I looked
at the source... and it appears that in
BeanSerializer.java...
If anybody uses an IDE like myself and is too lazy to figure out how to
integrate ANT builds into the IDE (like myself), I've created a fairly generic
Ant build file that should help with the compilation of your document-literal
webservice for JBoss, taking into account the little quirk about
[EMAIL PROTECTED] wrote : Ryan,
|
| your assumption is right, we only need the request response structures and
array wrappers generated by wscompile. All other artifacts are jwsdp specific.
|
| You WS fails because it cannot find the mapping of the an array type.
|
| The
sselda wrote : Hi all,
|
| I'm using:
| - jboss 4.0.1
| - jwsdp 1.5
| - ant 1.6.2
|
| I have defined the build.xml file for ant.
|
| All is correct when I generate client stubs and jaxrpc-mapping with
|
| property name=wscompile
Apparently, I didn't read to the end of my old thread. :)
You can put fork=true in the wscompile task and it's stated that the error
will disappear.
http://forum.java.sun.com/thread.jspa?threadID=592994tstart=0
View the original post :
Yep, I followed the exact instructions on the website. I wrapped the array in
a JavaBean... it looks as though it's attempting to serialize the original
array type and that's the serializer that can't be found, even though I can see
the typemapping in the .wsdd file on the server.
View the
Sounds very similar to the problem that I have here :
http://www.jboss.org/index.html?module=bbop=viewtopict=65067
Funny thing is I deployed the ear in 4.0.1 and it works... Do you know of
anyway to view the contents of the typemapping map?
_Ryan
View the original post :
Scharlau wrote : kanno,
|
| you probably need to put the class files generated by wscompile from your
WSDL file under the WEB-INF/classes directory of the war that you've deployed
your WS in. (Or under the META-INF/classes if you've used a jar with a SLSB).
|
| Basically the error
Heya all,
I followed all the instructions on the wiki page to create a document literal
web service. I've wrapped my original interface and I'm returning an array of
objects in a bean. The web service call comes in a-ok, but when trying to
write the response, I get the message:
I'm currently using the final JBoss 4.01 release, and I have a weird problem
that I can't seem to resolve. I have a stateless session bean calling entity
beans (see: Session Facade). They're all in the same ear, all referenced using
local home interfaces.
For some reason, attempting the
I'll start a more-detail oriented guide on the Wiki, but is there a standard
place where I should put it? I don't wanna mess up the neat formatting.
Should I create another page? or Should I just add to the Java service endpoint
discussion?
_RK
View the original post :
If you search the forums, I've posted a message about this problem:
http://www.jboss.org/index.html?module=bbop=viewtopict=57446
My solution was to just write the task into the ant build file without using
the tag. My ant task looks as the following:
(Ignore the mkdirs)
|
| target
Yeah, I know what you mean. I spent 3 days straight staring at the Wiki, logs,
source and whatever else I could get my hands on before I actually figured out
what the hell was going on. :) Good job!
_RK
p.s. Maybe we should post something on the Wiki about what to do :)
View the original
As Thomas pointed out in the following forums post:
http://www.jboss.org/index.html?module=bbop=viewtopict=56424
This usually occurs when you use more than one parameter in your endpoint
message.
With doc/lit there is no wrapping RPC element. The entire message is defined by
a single
Siano -
Nobody seems to be responding to these types of questions, but after 3 days of
staring at this, I finally got mine to work. :) Here's what I did to get a
document/literal web service to work in JBoss 4.0.1.
Like yourself, I implemented the endpoint interface and the implementing POJO
Stephan -
Show us what your .wsdd file looks like. Also, go into the log4j configuration
file for your JBoss server instance and change the following:
This way, you can see exactly the SOAP message being sent into your service,
etc and where it's failing.
_RK
View the original post
Generally, the jax-rpc mapping file will be created when you use wscompile to
generate the wsdl file. How exactly did you create the wsdl?
There is a page on the wiki that explains it further:
http://www.jboss.org/wiki/Wiki.jsp?page=WSClientDII
The method with the following signature:
|
This is probably the wrong forum, but just place it in the 'deploy' directory
of your server instance.
So if you're running default JBoss, that usually runs the default server.
The file would go to
JBOSS_HOME/server/default/deploy
View the original post :
I think I'm finally getting the hang of creating a service, but I'm just not
positive what files to edit; I want to post it to the group first, then see if
it's right. If so, I'll generate a page on the wiki explaining what I did
since there's a large gap between how to do it and why. :)
In
Looking at the axis docs, I came across this that might be of some help.
And I quote,
anonymous wrote :
| (The tag is really just shorthand for a tag with
serializer=org.apache.axis.encoding.ser.BeanSerializerFactory,
deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory,
Ok, after going through all the examples, I sorta see what's going on with the
assorted mapping files, etc. Since apparently the automatically generated wsdl
creates a wsdl that validates a message of
| getProfiles
| String_1*BLAH*/String_1
| /getProfiles
|
I can't just use
Actually, here's what I've been doing, but I'm sorta debugging as we speak...
so maybe this might clear up somethings for yah (or me for that matter).
- I first generate my Java interface/implementation classes
- I use an ant task to generate the wsdl / jaxrpc-mapping file
- From what I can
Anyone have this problem?
I've created a document/literal WSDL for a Java web service using wscompile
(with -mapping option, etc). I've deployed the service with the appropriate
descriptor files to a JBoss 4.0.1 application server. Everything seems fine
and dandy except...
When I try to
29 matches
Mail list logo