[JBoss-dev] [JBossWS] - Re: OperationDesc for METHOD not synchronized to a method of

2004-12-13 Thread ricmoore
Just to close the loop on this...  I found that by wrapping the String[] 
parameters, and TrainingDuration[] return value in javaBean classes, everything 
works fine.  Thanks for your help.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3858406#3858406

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3858406


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWS] - OperationDesc for METHOD not synchronized to a method of INT

2004-11-17 Thread ricmoore
Greetings,

I'm using JBoss 4.0.0  JWSDP 1.4's wscompile to generate mapping  wsdl files 
for several services.  3 of them deploy  work correctly.  One, deploys OK, but 
when I try to access the wsdl file (using 
http://localhost:8080/ws4ee/services/GetTrainingEstimatesService?wsdl) I get 
the following error:


  | AXIS error
  | 
  | Sorry, something seems to have gone wrong... here are the details:
  | 
  | Exception - org.apache.axis.InternalException: java.lang.Exception: The 
OperationDesc for getTrainingEstimates was not synchronized to a method of 
com.sonalysts.apsts.cueing.web.webservices.GetTrainingEstimates.
  | 

I am a rank newcomer to things web service.  I have perused the JBossWS forum  
read the wiki.  I am using wscompile to read the SEI  generate serializers, 
mappiings,  wsdl file.

Hopefully the material I include below is relevant.

SEI:


  | package com.sonalysts.apsts.cueing.web.webservices ;
  | 
  | import java.rmi.Remote ;
  | import java.rmi.RemoteException ;
  | 
  | /**
  |  * @author ricmoore
  |  * 
  |  * Web Service interface to return sortable training plan data.
  |  */
  | public interface GetTrainingEstimates extends Remote
  | {
  |/**
  | * 
  | * @param userIds -
  | *   a set of users for whom to prepare training plan estimates
  | * @param numUsers -
  | *   how many users (actually a place-holder to delimit the 
String
  | *   parameters)
  | * @param trainingRequestID -
  | *   the training request for which the user is to be trained
  | * @param numRequests -
  | *   how many requests (actually a place-holder to delimit the 
String
  | *   parameters)
  | * @param procIds -
  | *   the (1 or more) procedures comprising the job/task.
  | * @param numProcs -
  | *   how many procedures (actually a place-holder to delimit the
  | *   String parameters)
  | * @return an array of TrainingDuration instances, one for each user
  | * @throws RemoteException
  | * @throws DataNotFoundException
  | */
  |public TrainingDuration[] getTrainingEstimates( String[] userIds,
  |   int numUsers,
  |   String trainingRequestID,
  |   int numRequests,
  |   String[] procIds,
  |   int numProcs )
  |  throws RemoteException, DataNotFoundException ;
  | }
  | 

The wscompile command:


  | target name=wscompileGetTrainingEstimates depends=prepare
  | exec executable=${jwsdp.home}/jaxrpc/bin/wscompile.bat
  | arg line=-d ${build.classes.dir} /
  | arg line=-nd ${wsdl.dir} /
  | env key=JAVA_XML_PACK_HOME 
value=C:/jwsdp-1.4/jaxrpc /
  | arg line=-classpath 
C:\apsts\workspace-3.0.1\cueing\docroot\WEB-INF\classes /
  | arg line=-f:rpcliteral /
  | arg line=-gen:server /
  | arg line=-source 1.1.2 /
  | arg line=-s ${basedir}/wssrc /
  | arg line=-verbose /
  | arg line=-keep /
  | arg line=-mapping 
${basedir}/docroot/WEB-INF/GTEjaxrpc-mapping.xml /
  | arg line=src/configTrainingEstimates.xml /
  | /exec
  | /target
  | 

The mapping file (GTEjaxrpc-mapping.xml, mentioned above):


  | ?xml version=1.0 encoding=UTF-8?
  | java-wsdl-mapping version=1.1 xmlns=http://java.sun.com/xml/ns/j2ee;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd;
  | package-mapping
  | package-type
  | com.sonalysts.apsts.cueing.web.webservices
  | /package-type
  | namespaceURI
  | http://webservices.web.cueing.apsts.sonalysts.com/types
  | /namespaceURI
  | /package-mapping
  | package-mapping
  | package-type
  | com.sonalysts.apsts.cueing.web.webservices
  | /package-type
  | namespaceURI
  | http://webservices.web.cueing.apsts.sonalysts.com
  | /namespaceURI
  | /package-mapping
  | package-mapping
  | package-type
  | 
com.sonalysts.apsts.cueing.web.webservices._arrays.com.sonalysts.apsts.cueing.web.webservices
  | /package-type
  | namespaceURI
  | 
http://webservices.web.cueing.apsts.sonalysts.com/types/arrays/com/sonalysts/apsts/cueing/web/webservices
  | /namespaceURI
  | /package-mapping
  | package