[jbossws] re: namespace problem: requested element {http://gaws.mec.com/rta/ws/types}businessdate is not allowed in this position in the sequence.
by Erique
Hello,
I'm facing the same problem. I modified the Nusoap and it's possible to
create soap messages desired by JBoss for some of the functions, but when
I'm using the same way to call other functions, the error as Douglas
reported returned.
>From the debug info, i can see the error string is:
org.jboss.ws.binding.BindingException:
org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Requested
element {http://messages..../ws}ChargedUserRequest_1 is not allowed in this
position in the sequence. The next element should be ChargedUserRequest_1
I think this error is also caused by the problem of namespace. So I tried to
add / removed all namespaces of each operation and parameter, but it doesn't
work too. I don't know what should be the xml like.
The way works fine on another function, the difference between those 2
function is, another function doesn't set its own parameter, but only
extends the Request. So I don't have any ideas about whether there is any
relations.
The issue soap message as below.
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2410="http://tempuri.org
">
<SOAP-ENV:Body>
<chargeUser xmlns="urn:charge....types">
<ns:ChargeUserRequest_1 xmlns:ns="http://messages..../ws">
<amount>5</amount>
<reasonCode>456</reasonCode>
<taxable>true</taxable>
<appID>WEBSERVICE</appID>
<token>GW2K4PYMUkFmrjtKWisLZqFYx</token>
<account>123456</account>
<transactionID>0372001208429988</transactionID>
</ns:ChargeUserRequest_1>
</chargeUser>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
and the related WSDL as the following:
<definitions name="WebService" targetNamespace="urn:charge....types" xmlns="
http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:charge....types"
xmlns:ns2="http://messages..../ws" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:....ws" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<types>
<schema targetNamespace="http://messages..../ws" xmlns="
http://www.w3.org/2001/XMLSchema" xmlns:ns1="urn:charge....types"
xmlns:ns2="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://messages..../ws"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="urn:charge....types"/>
<import namespace="http://www.w3.org/2001/XMLSchema"/>
<complexType name="ChargeUserRequest">
<complexContent>
<extension base="tns:Request">
<sequence>
<element name="amount" type="double"/>
<element name="reasonCode" nillable="true" type="string"/>
<element name="taxable" type="boolean"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="Request">
<sequence>
<element name="appID" nillable="true" type="string"/>
<element name="token" nillable="true" type="string"/>
<element name="account" nillable="true" type="string"/>
<element name="transactionID" nillable="true" type="string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="urn:charge....types" xmlns="
http://www.w3.org/2001/XMLSchema" xmlns:ns2="
http://www.w3.org/2001/XMLSchema" xmlns:ns3="http://messages..../ws"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="urn:charge....types" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://messages..../ws"/>
<import namespace="http://www.w3.org/2001/XMLSchema"/>
<complexType name="chargeUser">
<sequence>
<element name="ChargeUserRequest_1" nillable="true"
type="ns3:ChargeUserRequest"/>
</sequence>
</complexType>
<complexType name="chargeUserResponse">
<sequence>
<element name="result" nillable="true" type="ns3:ChargeUserResponse"/>
</sequence>
</complexType>
<element name="chargeUser" type="tns:chargeToBill"/>
<element name="chargeUserResponse" type="tns:chargeToBillResponse"/>
<message name="WebServiceInterface_chargeUser">
<part element="ns1:chargeUser" name="parameters"/>
</message>
<message name="WebServiceInterface_chargeUserResponse">
<part element="ns1:chargeUserResponse" name="result"/>
</message>
</schema>
<portType name="WebServiceInterface">
<operation name="chargeToBill">
<input message="tns:WebServiceInterface_chargeUser"/>
<output message="tns:WebServiceInterface_chargeUserResponse"/>
</operation>
<binding name="WebServiceInterfaceBinding" type="tns:WebServiceInterface">
<soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
<operation name="chargeUser">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="WebService">
<port binding="tns:WebServiceInterfaceBinding"
name="WebServiceInterfacePort">
<soap:address location=".....">
</port>
</service>
</definitions>
Someone can help me on this problem?
Thanks,
Erique
16 years, 9 months
[JBossWS] - Re: WebService response problem
by tejasjani
Hi ...
I am running into the same exception as the original poster, it is :
anonymous wrote :
| Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel
| at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:109)
| at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:85)
| at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96)
| at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158)
| at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:129)
| at com.demandtec.webservices.impl.clients.DTTPWSClient.updatePromoStatus(DTTPWSClient.java:40)
| at com.demandtec.webservices.impl.clients.DTTPWSClient.main(DTTPWSClient.java:69)
|
I have tried the following options without success:
(1) add -Djava.endorsed.dirs to point to the jboss/lib/endorsed
(2) copy the xercesImpl.jar shipped with jboss to jre/lib/endorsed
(3) add the xercesImpl.jar shipped with jboss to the classpath
I am trying to write a very simple webservice client which can run from the command-line. I am on java 5, jboss 4.0.5 and JBossWS 1.0.4
I would really appreciate if someone could point me in the right direction here.
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146673#4146673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146673
16 years, 9 months
[JBossWS] - WS client returns null, why?
by Sancheski
Hi all,
I am facing a problem when getting the response from a ws invocation. As far as I see through org.jboss.ws.core.MessageTrace logger, the ws server returns a valid response. I don't know why, this response turns to a null one in my client. Here are the log traces:
| 2008-04-24 12:33:18,838 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message
| <soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.
| org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <soapenv:Header>
| <ns1:Security ns1:Password='app:1272268494445808129' ns1:UserName='domain_user' soapenv:actor='wsse:P
| asswordToken' soapenv:mustUnderstand='1' xmlns:ns1='http://172.22.191.143:8080/parlayx2/services/Ter
| minalLocation' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:string'/>
| </soapenv:Header>
| <soapenv:Body>
| <getLocation xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'>
| <address>tel:34609214237</address>
| <requestedAccuracy>2000</requestedAccuracy>
| <acceptableAccuracy>4000</acceptableAccuracy>
| <maximumAge>
| <metric xmlns=''>Hour</metric>
| <units xmlns=''>1</units>
| </maximumAge>
| <responseTime xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'>
| <metric xmlns=''>Minute</metric>
| <units xmlns=''>1</units>
| </responseTime>
| <tolerance xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'>DelayTolerant</tolerance>
| </getLocation>
| </soapenv:Body>
| </soapenv:Envelope>
| 2008-04-24 12:33:18,947 WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta
| data for: {http://www.csapi.org/wsdl/parlayx/terminal_location/v2_2/service}TerminalLocation
| 2008-04-24 12:33:19,229 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Request Message
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body>
| <ns2:getLocation xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'>
| <ns2:address>609214237</ns2:address>
| <ns2:requestedAccuracy>2000</ns2:requestedAccuracy>
| <ns2:acceptableAccuracy>4000</ns2:acceptableAccuracy>
| <ns2:maximumAge>
| <metric>Hour</metric>
| <units>1</units>
| </ns2:maximumAge>
| <ns2:responseTime>
| <metric>Minute</metric>
| <units>1</units>
| </ns2:responseTime>
| <ns2:tolerance>DelayTolerant</ns2:tolerance>
| </ns2:getLocation>
| </env:Body>
| </env:Envelope>
| 2008-04-24 12:33:19,229 TRACE [org.jboss.ws.core.MessageTrace] Incoming Response Message
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body>
| <ns2:getLocationResponse xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'>
| <return>
| <latitude>0.1</latitude>
| <longitude>0.1</longitude>
| <accuracy>3</accuracy>
| </return>
| </ns2:getLocationResponse>
| </env:Body>
| </env:Envelope>
| 2008-04-24 12:33:19,275 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body>
| <ns2:getLocationResponse xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'
| />
| </env:Body>
| </env:Envelope>
|
My ws client implementation is:
| protected Object callWebService(ExecutionContext ctx) throws Exception {
| QName qname = new QName(
| "http://www.csapi.org/wsdl/parlayx/terminal_location/v2_2/service",
| "TerminalLocationService");
| TerminalLocationService service = new TerminalLocationService(null, qname);
| TerminalLocation stub = (TerminalLocation) service.getTerminalLocation();
| configureStub(ctx, (javax.xml.ws.BindingProvider) stub);
| return stub.getLocation((java.lang.String) getAddress(ctx),
| (int) getRequestedAccuracy(ctx), (int) getAcceptableAccuracy(ctx),
| (TimeMetric) getMaximumAge(ctx), (TimeMetric) getResponseTime(ctx),
| (DelayTolerance) getTolerance(ctx));
| }
|
Does anyone know what is going on behind the scenes? What am I doing wrong?
Thanks a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146467#4146467
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146467
16 years, 9 months
[JBossWS] - Binding custom Exception field fails
by rhcp_1415
Hi there,
I'm trying to make a simple hallo World with a parameter and a custom exception that has its own field. Without the extra field in the exception it works fine. Server start up fine but when I call my webservice with the field "naam" filled in with "kaboom" (with this value the exception is thrown) this is what I get:
| 08:48:41,921 ERROR [RequestHandlerImpl] Error processing web service request
|
| org.jboss.ws.WSException: org.jboss.xb.binding.JBossXBRuntimeException: Failed to find read method or field for property 'typeFout' in class nl.havermans.rhcp.boodschappen.webservice.EWebserviceException
|
| at org.jboss.ws.WSException.rethrow(WSException.java:68)
|
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
|
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
|
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
|
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
|
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
|
|
The problem is that the property really is in the class nl.havermans.rhcp.boodschappen.webservice.EWebserviceException, I even tried to make the field itself public but it does not help. Does anyone know why this is happening?
Can anyone have a look at this?
| /**
| *
| */
| package nl.havermans.rhcp.boodschappen.webservice;
|
| import java.rmi.RemoteException;
|
| /**
| * @author RHCP
| *
| */
| public interface IHalloWereldService extends java.rmi.Remote {
| public String zegMijHallo(String naam) throws EWebserviceException, RemoteException;
| }
|
| /**
| *
| */
| package nl.havermans.rhcp.boodschappen.webservice;
|
| import java.rmi.RemoteException;
|
| import org.apache.log4j.Logger;
|
| /**
| * @author RHCP
| *
| */
| public class HalloWereldService implements IHalloWereldService {
| Logger _log = Logger.getLogger(HalloWereldService.class);
|
| /**
| * @throws EWebserviceException
| * @see nl.havermans.rhcp.boodschappen.webservice.IHalloWereldService#zegMijHallo(java.lang.String)
| */
| public String zegMijHallo(String naam) throws RemoteException, EWebserviceException {
| _log.info("Start zegMijHallo: " + naam);
| String antwoord = "Welkom bij mijn webservice";
| if (naam != null) {
| if (naam.equals("kaboom")) {
| throw new EWebserviceException("Exceptie test", "functioneel");
| }
| antwoord = antwoord + ": " + naam;
| }
|
| _log.info("Einde zegMijHallo");
| return antwoord;
| }
| }
|
| /**
| *
| */
| package nl.havermans.rhcp.boodschappen.webservice;
|
| /**
| * @author RHCP
| *
| */
| public class EWebserviceException extends Exception {
| /**
| *
| */
| private static final long serialVersionUID = -4539401858795964596L;
| public String typeFout = "onbekend";
|
| /**
| *
| */
| public EWebserviceException() {
| super();
| }
|
| /**
| * @param p_message
| * @param p_cause
| */
| public EWebserviceException(String p_message, Throwable p_cause) {
| super(p_message, p_cause);
| }
|
| /**
| * @param p_message
| */
| public EWebserviceException(String p_message) {
| super(p_message);
| }
|
| /**
| * @param p_message boodschap
| * @param p_typeFout type fout
| */
| public EWebserviceException(String message, String typeFout) {
| super(message);
| this.typeFout = typeFout;
| }
|
|
| /**
| * @param p_cause
| */
| public EWebserviceException(Throwable p_cause) {
| super(p_cause);
| }
|
| /**
| * @return the typeFout
| */
| public String getTypeFout() {
| return typeFout;
| }
|
| /**
| * @param p_typeFout the typeFout to set
| */
| public void setTypeFout(String typeFout) {
| this.typeFout = typeFout;
| }
|
| }
|
| <?xml version="1.0" encoding="UTF-8"?>
| <definitions
| name="HalloWereldWS"
| targetNamespace="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService"
| xmlns:hllwrld="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService"
| xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| >
| <types>
| <xsd:schema
| targetNamespace="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService">
|
| <xsd:complexType name="EWebserviceException">
| <xsd:sequence>
| <xsd:element name="typeFout" nillable="true" type="xsd:string"/>
| </xsd:sequence>
| </xsd:complexType>
| <xsd:element name="EWebserviceException" type="hllwrld:EWebserviceException"/>
| </xsd:schema>
| </types>
| <message name="GetHalloWereldRequest">
| <part name="naam" type="xsd:string"/>
| </message>
| <message name="GetHalloWereldResponse">
| <part name="antwoord" type="xsd:string"/>
| </message>
| <message name="EWebserviceException">
| <part name="EWebserviceException" element="hllwrld:EWebserviceException"></part>
| </message>
|
| <portType name="HalloWereld">
| <operation name="zegMijHallo">
| <input message="hllwrld:GetHalloWereldRequest"/>
| <output message="hllwrld:GetHalloWereldResponse"/>
| <fault name="EWebserviceException" message="hllwrld:EWebserviceException"></fault>
| </operation>
| </portType>
|
| <binding name="HalloWereld_binding" type="hllwrld:HalloWereld">
| <soapbind:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
| <operation name="zegMijHallo">
| <soapbind:operation style="rpc" soapAction="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService/ZegMi..."/>
| <input>
| <soapbind:body use="literal" namespace="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService"/>
| </input>
| <output>
| <soapbind:body use="literal" namespace="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService"/>
| </output>
| <fault name="EWebserviceException">
| <soapbind:fault name="EWebserviceException" use="literal"/>
| </fault>
| </operation>
| </binding>
|
| <service name="HalloWereldService">
| <port name="HalloWereld_Port" binding="hllwrld:HalloWereld_binding">
| <soapbind:address location="http://localhost:8080/BoodschappenServiceWeb/myJSE/HalloWereld"/>
| </port>
| </service>
| </definitions>
|
| <?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"
| xmlns:hllwrld="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
| http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd" version="1.1"
| >
| <package-mapping>
| <package-type>nl.havermans.rhcp.boodschappen.webservice</package-type>
| <namespaceURI>http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService</namespaceURI>
| </package-mapping>
| <java-xml-type-mapping>
| <java-type>nl.havermans.rhcp.boodschappen.webservice.EWebserviceException</java-type>
| <root-type-qname>hllwrld:EWebserviceException</root-type-qname>
| <qname-scope>complexType</qname-scope>
| </java-xml-type-mapping>
| <exception-mapping>
| <exception-type>nl.havermans.rhcp.boodschappen.webservice.EWebserviceException</exception-type>
| <wsdl-message>hllwrld:EWebserviceException</wsdl-message>
| </exception-mapping>
| <service-interface-mapping>
| <service-interface>nl.havermans.rhcp.boodschappen.webservice.HalloWereldService</service-interface>
| <wsdl-service-name>hllwrld:HalloWereldService</wsdl-service-name>
| <port-mapping>
| <port-name>hllwrld:HalloWereld_Port</port-name>
| <java-port-name>hllwrld:HalloWereld_Port</java-port-name>
| </port-mapping>
| </service-interface-mapping>
| <service-endpoint-interface-mapping>
| <service-endpoint-interface>nl.havermans.rhcp.boodschappen.webservice.IHalloWereldService</service-endpoint-interface>
| <wsdl-port-type>hllwrld:HalloWereld</wsdl-port-type>
| <wsdl-binding>hllwrld:HalloWereld_binding</wsdl-binding>
| <service-endpoint-method-mapping>
| <java-method-name>zegMijHallo</java-method-name>
| <wsdl-operation>zegMijHallo</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message>hllwrld:GetHalloWereldRequest</wsdl-message>
| <wsdl-message-part-name>naam</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <wsdl-return-value-mapping>
| <method-return-value>java.lang.String</method-return-value>
| <wsdl-message>hllwrld:GetHalloWereldResponse</wsdl-message>
| <wsdl-message-part-name>antwoord</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
| </service-endpoint-interface-mapping>
| </java-wsdl-mapping>
|
| <?xml version="1.0" encoding="UTF-8"?>
| <webservices xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xmlns:hllwrld="http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
| http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd" version="1.1">
| <webservice-description>
| <webservice-description-name>HalloWereld</webservice-description-name>
| <wsdl-file>WEB-INF/wsdl/HalloWereld.wsdl</wsdl-file>
| <jaxrpc-mapping-file>WEB-INF/HalloWereld-rpc-mapping.xml</jaxrpc-mapping-file>
| <port-component>
| <port-component-name>HalloWereldJSE</port-component-name>
| <wsdl-port>hllwrld:HalloWereld_Port</wsdl-port>
| <service-endpoint-interface>nl.havermans.rhcp.boodschappen.webservice.IHalloWereldService</service-endpoint-interface>
| <service-impl-bean>
| <servlet-link>HalloWereldJSE</servlet-link>
| </service-impl-bean>
| </port-component>
| </webservice-description>
| </webservices>
|
| <?xml version="1.0" encoding="UTF-8"?>
| <web-app id="WebApp_ID" version="2.4"
| 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://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
| <display-name>BoodschappenServiceWeb</display-name>
| <servlet>
| <display-name>Apache-Axis Servlet</display-name>
| <servlet-name>AxisServlet</servlet-name>
| <servlet-class>
| org.apache.axis.transport.http.AxisServlet
| </servlet-class>
| </servlet>
| <servlet>
| <display-name>Axis Admin Servlet</display-name>
| <servlet-name>AdminServlet</servlet-name>
| <servlet-class>
| org.apache.axis.transport.http.AdminServlet
| </servlet-class>
| <load-on-startup>100</load-on-startup>
| </servlet>
| <servlet>
| <display-name>Hallo Wereld webservice oefening</display-name>
| <servlet-name>HalloWereldJSE</servlet-name>
| <servlet-class>nl.havermans.rhcp.boodschappen.webservice.HalloWereldService</servlet-class>
| <load-on-startup>101</load-on-startup>
| </servlet>
| <servlet-mapping>
| <servlet-name>AxisServlet</servlet-name>
| <url-pattern>/servlet/AxisServlet</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AxisServlet</servlet-name>
| <url-pattern>*.jws</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AxisServlet</servlet-name>
| <url-pattern>/services/*</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AdminServlet</servlet-name>
| <url-pattern>/servlet/AdminServlet</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>HalloWereldJSE</servlet-name>
| <url-pattern>/myJSE/HalloWereld</url-pattern>
| </servlet-mapping>
| <welcome-file-list>
| <welcome-file>index.html</welcome-file>
| <welcome-file>index.htm</welcome-file>
| <welcome-file>index.jsp</welcome-file>
| <welcome-file>default.html</welcome-file>
| <welcome-file>default.htm</welcome-file>
| <welcome-file>default.jsp</welcome-file>
| </welcome-file-list>
| </web-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146457#4146457
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146457
16 years, 9 months