Well Jason, I already did all procedures using wscompile but I continues got an
error, let me show you everything I have, so you can help me...:-)
ah, very thanks for help
This is my interface:
| package sei;
| public interface RfidMgrWSSEI extends java.rmi.Remote {
| public void readerEvent(int userId, String tagId, String readerId, long
time, int eventId) throws java.rmi.RemoteException;
|
| public void readerEventEx(int userId, String[] tagId, String[] tagInfo,
String readerId, long time, int eventId) throws java.rmi.RemoteException;
|
| public void tagChangeEvent(int userId, String tagId, String
readerGroupId, boolean appeared, long time, int eventId) throws
java.rmi.RemoteException;
|
| public void tagChangeEventEx(int userId, String[] tagId, String[]
tagInfo, String readerGroupId, boolean[] appeared, long time, int eventId)
throws java.rmi.RemoteException;
|
| public void deviceNotify(int userId, String readerId, boolean
available, long time, int eventId, java.lang.String detail) throws
java.rmi.RemoteException;
|
| }//End RfidMgrWSSEI interface
|
This is my Interface Implementation:
| package sei;
| import java.io.*;
| import java.net.*;
| import java.rmi.*;
| import java.util.Date;
| import server.StockControlServerInterface;
|
| public class RfidMgrWSImpl implements RfidMgrWSSEI {
|
| private StockControlServerInterface stockServer; //stock
control interface
|
| public RfidMgrWSImpl(){
|
| try{
| stockServer =
(StockControlServerInterface)Naming.lookup("//localhost:1818/StockServer");
| }//end try
| catch(RemoteException re){
| re.printStackTrace();
| }//End catch
| catch(NotBoundException nbe){
| nbe.printStackTrace();
| }//End catch
| catch(MalformedURLException mue){
| mue.printStackTrace();
| }//end catch
|
| }//End RfidMgrWSImpl() constructor
|
| public void readerEvent(int userId, String tagId, java.lang.String
readerId, long time, int eventId) throws java.rmi.RemoteException {
| System.out.println("====== READER EVENT ======");
| System.out.println("USER ID : " + userId);
| System.out.println("TAG ID : " + tagId);
| System.out.println("READER ID: " + readerId);
| System.out.println("TIME : " + new Date(time));
| System.out.println("EVENT ID : " + eventId);
| System.out.println("==========================");
| }//end readerEvent() method
|
| public void readerEventEx(int userId, String[] tagId, String[] tagInfo,
String readerId, long time, int eventId) throws java.rmi.RemoteException{
| System.out.println("====== READER EVENT EX ======");
| System.out.println("USER ID : " + userId);
| for(int i = 0; i < tagId.length; i++){
| System.out.println("TAG ID[" + i + "]: " + tagId);
| System.out.println("TAG INFO[" + i + "]: " + tagInfo);
| }//end for
| System.out.println("READER ID: " + readerId);
| System.out.println("TIME : " + new Date(time));
| System.out.println("EVENT ID : " + eventId);
| System.out.println("============================");
| }//end readerEventEx() method
|
| public void tagChangeEvent(int userId, String tagId, String
readerGroupId, boolean appeared, long time, int eventId) throws
java.rmi.RemoteException {
| System.out.println("====== TAG CHANGE EVENT ======");
| System.out.println("USER ID : " + userId);
| System.out.println("TAG ID : " + tagId);
| System.out.println("READER ID: " + readerGroupId);
| System.out.println("APPEARED : " + appeared);
| System.out.println("TIME : " + new Date(time));
| System.out.println("EVENT ID : " + eventId);
| System.out.println("==============================");
| }//end tagChangeEvent() method
|
| public void tagChangeEventEx(int userId, String[] tagIds, String[]
tagInfos, String readerGroupId, boolean[] appeared, long time, int eventId)
throws java.rmi.RemoteException {
|
| /* for each identified tag */
| for(int i = 0; i < tagIds.length; i++){
|
| /* get the reader antenna */
| int index = tagInfos.lastIndexOf("<antenna>");
| String ant = tagInfos.substring(index + 9, index + 10);
| Integer antenna = new Integer(ant);
|
| /* send message to stock server */
| if(stockServer == null){
| System.out.println("STOCK SERVER IS NULL");
| }//end if
| else{
| System.out.println("TAG ID : " + tagIds.substring(4));
| System.out.println("ANTENNA: " + antenna.intValue());
| System.out.println("TIME : " + time);
| System.out.println("SERVER : " + stockServer);
| stockServer.itemMovimentation(tagIds.substring(4),
antenna.intValue(), time);
| }//end else
|
| }//end for
|
| }//end tagChangeEventEx() method
|
| public void deviceNotify(int userId, String readerId, boolean
available, long time, int eventId, java.lang.String detail) throws
java.rmi.RemoteException {
| System.out.println("====== DEVIE NOTIFY ======");
| System.out.println("USER ID : " + userId);
| System.out.println("READER ID: " + readerId);
| System.out.println("AVAILABLE: " + available);
| System.out.println("TIME : " + new Date(time));
| System.out.println("EVENT ID : " + eventId);
| System.out.println("==============================");
| }//end deviceNotify() method
|
| }//End RfidMgrWSImpl class
|
This is my wscompile configuration file: I am using wscompile.bat -cp classes
-d classes -nd wsdl -s ..\..\..\src\java -f:wsi -keep -gen:server -mapping
RfidMgrWS-mapping.xml classes\sei\RfidMgrWS-config.xml
| <?xml version='1.0' encoding='UTF-8' ?>
| <configuration xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/config'>
| <service name='RfidMgrWS'
targetNamespace='http://www.nec.co.jp/xmlnec/rfidmgr'
typeNamespace='http://www.nec.co.jp/xmlnec/rfidmgr/types' packageName='sei'>
| <interface name='sei.RfidMgrWSSEI'
servantName='sei.RfidMgrWSImpl'>
| </interface>
| </service>
| </configuration>
|
This is my webservices.xml file:
| <?xml version='1.0' encoding='UTF-8' ?>
| <webservices xmlns='http://java.sun.com/xml/ns/j2ee' version='1.1'>
| <webservice-description>
|
<webservice-description-name>RfidMgrWS</webservice-description-name>
| <wsdl-file>WEB-INF/wsdl/RfidMgrWS.wsdl</wsdl-file>
|
<jaxrpc-mapping-file>WEB-INF/RfidMgrWS-mapping.xml</jaxrpc-mapping-file>
| <port-component
xmlns:wsdl-port_ns='http://www.nec.co.jp/xmlnec/rfidmgr'>
| <port-component-name>RfidMgrWS</port-component-name>
| <wsdl-port>wsdl-port_ns:RfidMgrWSSEIPort</wsdl-port>
|
<service-endpoint-interface>sei.RfidMgrWSSEI</service-endpoint-interface>
| <service-impl-bean>
| <servlet-link>WSServlet_RfidMgrWS</servlet-link>
| </service-impl-bean>
| </port-component>
| </webservice-description>
| </webservices>
|
|
This is my wsdl file:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <definitions name="RfidMgrWS"
targetNamespace="http://www.nec.co.jp/xmlnec/rfidmgr"
xmlns:tns="http://www.nec.co.jp/xmlnec/rfidmgr"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:ns2="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/"
xmlns:ns3="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/java/lang"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
| <types>
| <schema
targetNamespace="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/"
xmlns:tns="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema">
| <import
namespace="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/java/lang"/>
| <complexType name="booleanArray">
| <sequence>
| <element name="value" type="boolean" minOccurs="0"
maxOccurs="unbounded"/></sequence></complexType></schema>
| <schema
targetNamespace="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/java/lang"
xmlns:tns="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/java/lang"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema">
| <import
namespace="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/"/>
| <complexType name="StringArray">
| <sequence>
| <element name="value" type="string" nillable="true" minOccurs="0"
maxOccurs="unbounded"/></sequence></complexType></schema></types>
| <message name="RfidMgrWSSEI_deviceNotify">
| <part name="int_1" type="xsd:int"/>
| <part name="String_2" type="xsd:string"/>
| <part name="boolean_3" type="xsd:boolean"/>
| <part name="long_4" type="xsd:long"/>
| <part name="int_5" type="xsd:int"/>
| <part name="String_6" type="xsd:string"/></message>
| <message name="RfidMgrWSSEI_deviceNotifyResponse"/>
| <message name="RfidMgrWSSEI_readerEvent">
| <part name="int_1" type="xsd:int"/>
| <part name="String_2" type="xsd:string"/>
| <part name="String_3" type="xsd:string"/>
| <part name="long_4" type="xsd:long"/>
| <part name="int_5" type="xsd:int"/></message>
| <message name="RfidMgrWSSEI_readerEventResponse"/>
| <message name="RfidMgrWSSEI_readerEventEx">
| <part name="int_1" type="xsd:int"/>
| <part name="arrayOfString_2" type="ns3:StringArray"/>
| <part name="arrayOfString_3" type="ns3:StringArray"/>
| <part name="String_4" type="xsd:string"/>
| <part name="long_5" type="xsd:long"/>
| <part name="int_6" type="xsd:int"/></message>
| <message name="RfidMgrWSSEI_readerEventExResponse"/>
| <message name="RfidMgrWSSEI_tagChangeEvent">
| <part name="int_1" type="xsd:int"/>
| <part name="String_2" type="xsd:string"/>
| <part name="String_3" type="xsd:string"/>
| <part name="boolean_4" type="xsd:boolean"/>
| <part name="long_5" type="xsd:long"/>
| <part name="int_6" type="xsd:int"/></message>
| <message name="RfidMgrWSSEI_tagChangeEventResponse"/>
| <message name="RfidMgrWSSEI_tagChangeEventEx">
| <part name="int_1" type="xsd:int"/>
| <part name="arrayOfString_2" type="ns3:StringArray"/>
| <part name="arrayOfString_3" type="ns3:StringArray"/>
| <part name="String_4" type="xsd:string"/>
| <part name="arrayOfboolean_5" type="ns2:booleanArray"/>
| <part name="long_6" type="xsd:long"/>
| <part name="int_7" type="xsd:int"/></message>
| <message name="RfidMgrWSSEI_tagChangeEventExResponse"/>
| <portType name="RfidMgrWSSEI">
| <operation name="deviceNotify" parameterOrder="int_1 String_2 boolean_3
long_4 int_5 String_6">
| <input message="tns:RfidMgrWSSEI_deviceNotify"/>
| <output message="tns:RfidMgrWSSEI_deviceNotifyResponse"/></operation>
| <operation name="readerEvent" parameterOrder="int_1 String_2 String_3
long_4 int_5">
| <input message="tns:RfidMgrWSSEI_readerEvent"/>
| <output message="tns:RfidMgrWSSEI_readerEventResponse"/></operation>
| <operation name="readerEventEx" parameterOrder="int_1 arrayOfString_2
arrayOfString_3 String_4 long_5 int_6">
| <input message="tns:RfidMgrWSSEI_readerEventEx"/>
| <output message="tns:RfidMgrWSSEI_readerEventExResponse"/></operation>
| <operation name="tagChangeEvent" parameterOrder="int_1 String_2
String_3 boolean_4 long_5 int_6">
| <input message="tns:RfidMgrWSSEI_tagChangeEvent"/>
| <output
message="tns:RfidMgrWSSEI_tagChangeEventResponse"/></operation>
| <operation name="tagChangeEventEx" parameterOrder="int_1
arrayOfString_2 arrayOfString_3 String_4 arrayOfboolean_5 long_6 int_7">
| <input message="tns:RfidMgrWSSEI_tagChangeEventEx"/>
| <output
message="tns:RfidMgrWSSEI_tagChangeEventExResponse"/></operation></portType>
| <binding name="RfidMgrWSSEIBinding" type="tns:RfidMgrWSSEI">
| <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>
| <operation name="deviceNotify">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></input>
| <output>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></output></operation>
| <operation name="readerEvent">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></input>
| <output>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></output></operation>
| <operation name="readerEventEx">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></input>
| <output>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></output></operation>
| <operation name="tagChangeEvent">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></input>
| <output>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></output></operation>
| <operation name="tagChangeEventEx">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></input>
| <output>
| <soap:body use="literal"
namespace="http://www.nec.co.jp/xmlnec/rfidmgr"/></output></operation></binding>
| <service name="RfidMgrWS">
| <port name="RfidMgrWSSEIPort" binding="tns:RfidMgrWSSEIBinding">
| <soap:address
location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
|
|
This is my mapping file:
| <?xml version="1.0" encoding="UTF-8"?>
| <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1"
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>sei</package-type>
|
<namespaceURI>http://www.nec.co.jp/xmlnec/rfidmgr/types</namespaceURI>
| </package-mapping>
| <package-mapping>
| <package-type>sei</package-type>
| <namespaceURI>http://www.nec.co.jp/xmlnec/rfidmgr</namespaceURI>
| </package-mapping>
| <package-mapping>
| <package-type>sei._arrays</package-type>
|
<namespaceURI>http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/</namespaceURI>
| </package-mapping>
| <package-mapping>
| <package-type>sei._arrays.java.lang</package-type>
|
<namespaceURI>http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/java/lang</namespaceURI>
| </package-mapping>
| <java-xml-type-mapping>
| <java-type>sei._arrays.java.lang.StringArray</java-type>
| <root-type-qname
xmlns:typeNS="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/java/lang">typeNS:StringArray</root-type-qname>
| <qname-scope>complexType</qname-scope>
| </java-xml-type-mapping>
| <java-xml-type-mapping>
| <java-type>sei._arrays.BooleanArray</java-type>
| <root-type-qname
xmlns:typeNS="http://www.nec.co.jp/xmlnec/rfidmgr/types/arrays/">typeNS:booleanArray</root-type-qname>
| <qname-scope>complexType</qname-scope>
| </java-xml-type-mapping>
| <service-interface-mapping>
| <service-interface>sei.RfidMgrWS</service-interface>
| <wsdl-service-name
xmlns:serviceNS="http://www.nec.co.jp/xmlnec/rfidmgr">serviceNS:RfidMgrWS</wsdl-service-name>
| <port-mapping>
| <port-name>RfidMgrWSSEIPort</port-name>
| <java-port-name>RfidMgrWSSEIPort</java-port-name>
| </port-mapping>
| </service-interface-mapping>
| <service-endpoint-interface-mapping>
|
<service-endpoint-interface>sei.RfidMgrWSSEI</service-endpoint-interface>
| <wsdl-port-type
xmlns:portTypeNS="http://www.nec.co.jp/xmlnec/rfidmgr">portTypeNS:RfidMgrWSSEI</wsdl-port-type>
| <wsdl-binding
xmlns:bindingNS="http://www.nec.co.jp/xmlnec/rfidmgr">bindingNS:RfidMgrWSSEIBinding</wsdl-binding>
| <service-endpoint-method-mapping>
| <java-method-name>deviceNotify</java-method-name>
| <wsdl-operation>deviceNotify</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_deviceNotify</wsdl-message>
| <wsdl-message-part-name>int_1</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>1</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_deviceNotify</wsdl-message>
|
<wsdl-message-part-name>String_2</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>2</param-position>
| <param-type>boolean</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_deviceNotify</wsdl-message>
|
<wsdl-message-part-name>boolean_3</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>3</param-position>
| <param-type>long</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_deviceNotify</wsdl-message>
| <wsdl-message-part-name>long_4</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>4</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_deviceNotify</wsdl-message>
| <wsdl-message-part-name>int_5</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>5</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_deviceNotify</wsdl-message>
|
<wsdl-message-part-name>String_6</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>readerEvent</java-method-name>
| <wsdl-operation>readerEvent</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEvent</wsdl-message>
| <wsdl-message-part-name>int_1</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>1</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEvent</wsdl-message>
|
<wsdl-message-part-name>String_2</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>2</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEvent</wsdl-message>
|
<wsdl-message-part-name>String_3</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>3</param-position>
| <param-type>long</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEvent</wsdl-message>
| <wsdl-message-part-name>long_4</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>4</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEvent</wsdl-message>
| <wsdl-message-part-name>int_5</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>readerEventEx</java-method-name>
| <wsdl-operation>readerEventEx</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEventEx</wsdl-message>
| <wsdl-message-part-name>int_1</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>1</param-position>
| <param-type>java.lang.String[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEventEx</wsdl-message>
|
<wsdl-message-part-name>arrayOfString_2</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>2</param-position>
| <param-type>java.lang.String[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEventEx</wsdl-message>
|
<wsdl-message-part-name>arrayOfString_3</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>3</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEventEx</wsdl-message>
|
<wsdl-message-part-name>String_4</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>4</param-position>
| <param-type>long</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEventEx</wsdl-message>
| <wsdl-message-part-name>long_5</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>5</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_readerEventEx</wsdl-message>
| <wsdl-message-part-name>int_6</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>tagChangeEvent</java-method-name>
| <wsdl-operation>tagChangeEvent</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEvent</wsdl-message>
| <wsdl-message-part-name>int_1</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>1</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEvent</wsdl-message>
|
<wsdl-message-part-name>String_2</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>2</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEvent</wsdl-message>
|
<wsdl-message-part-name>String_3</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>3</param-position>
| <param-type>boolean</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEvent</wsdl-message>
|
<wsdl-message-part-name>boolean_4</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>4</param-position>
| <param-type>long</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEvent</wsdl-message>
| <wsdl-message-part-name>long_5</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>5</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEvent</wsdl-message>
| <wsdl-message-part-name>int_6</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>tagChangeEventEx</java-method-name>
| <wsdl-operation>tagChangeEventEx</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
| <wsdl-message-part-name>int_1</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>1</param-position>
| <param-type>java.lang.String[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
|
<wsdl-message-part-name>arrayOfString_2</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>2</param-position>
| <param-type>java.lang.String[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
|
<wsdl-message-part-name>arrayOfString_3</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>3</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
|
<wsdl-message-part-name>String_4</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>4</param-position>
| <param-type>boolean[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
|
<wsdl-message-part-name>arrayOfboolean_5</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>5</param-position>
| <param-type>long</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
| <wsdl-message-part-name>long_6</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>6</param-position>
| <param-type>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message
xmlns:wsdlMsgNS="http://www.nec.co.jp/xmlnec/rfidmgr">wsdlMsgNS:RfidMgrWSSEI_tagChangeEventEx</wsdl-message>
| <wsdl-message-part-name>int_7</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
| </service-endpoint-interface-mapping>
| </java-wsdl-mapping>
|
|
This is the array class created by wscompile:
| package sei._arrays.java.lang;
|
| public class BooleanArray {
| private boolean[] value;
|
| public BooleanArray() {
| }
|
| public BooleanArray(boolean[] sourceArray) {
| value = sourceArray;
| }
|
| public void fromArray(boolean[] sourceArray) {
| this.value = sourceArray;
| }
|
| public boolean[] toArray() {
| return value;
| }
|
| public boolean[] getValue() {
| return value;
| }
|
| public void setValue(boolean[] value) {
| this.value = value;
| }
| }
|
| ========================
| package sei._arrays.java.lang;
|
|
| public class StringArray {
| private java.lang.String[] value;
|
| public StringArray() {
| }
|
| public StringArray(java.lang.String[] sourceArray) {
| value = sourceArray;
| }
|
| public void fromArray(java.lang.String[] sourceArray) {
| this.value = sourceArray;
| }
|
| public java.lang.String[] toArray() {
| return value;
| }
|
| public java.lang.String[] getValue() {
| return value;
| }
|
| public void setValue(java.lang.String[] value) {
| this.value = value;
| }
| }
|
|
If I can provide anything else, please ask me. I am using JBoss4.0.3SP1 Very
thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914047#3914047
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914047
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user