Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Problem with deploytool.

Thread Tools

Problem with deploytool.

Posts: n/a
I am trying to build a web service starting from hand-written wsdl using
JAX-RPC and wscompile tool from Sun Java System Application Server 8.0.
I don't want any data binding, so i invoke wscompile tool with -f
nodatabinding option with deploytool I create war, and I try to deploy it.

And deployment fails!
Reading server log I have found that reason for this failure is ejbc:

[#|2004-09-29T21:09:41.174+0200|INFO|sun-appserver-pe8.0.0_01||_Thr eadID=11;|
error: [failed to localize] unable to find member rodzajProblemu in
jaxrpcmapping meta for exception whose wsdl message is:

Message refers to part of my schema cited below:


<complexType name="ProblemPrzetwarzania">
<element name="rodzajProblemu">
<restriction base="string">
<enumeration value="Merytoryczny"/>
<enumeration value="Systemowy"/>
<element name="oznaczenieProblemu" minOccurs="0" type="string"/>
<element name="opisProblemu" type="string"/>

<element name="problemPrzetwarzania" type="ugroblemPrzetwarzania"/>


Identifiers are polish words, so don't bother with making up what do
they mean.
I have checked mapping.xml generated by wscompile, and ejbc is right -
there is nothing about rodzajProblemu, but if there is no class bound to
element problemPrzetwarzania except SOAPElement, there is no mapping,
so deploytool shouldn't try to compile any bean!

Should I consider it to be bug or I am doing sth. wrong?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem problem problem :( Need Help Mike ASP General 2 05-11-2004 08:36 AM