[JBossWS] - please help, webservice client & wscompile issue. thx.
by jelda
Hi,
I'm gettng following exception when consuming a webservice implemented in jboss.
I use, jboss 4.0.4.GA, jbossws.
Also used wscompile to generate server & client . WS-Server impl works great as wanted. But client throws following exception (on server side).
at
org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:175)
at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:110)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234)
at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.ciao.ws.ciaoogle.filters.PerformanceFilter.doFilter(PerformanceFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Thanks in advance,
Jelda
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980642#3980642
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980642
17 years, 8 months
[JBossWS] - Re: web services samples
by koriel
ok I updated my xerces jars and now I got this error
| init:
| [echo] jboss.home = /usr/local/jboss-4.0.4.GA/
| [echo] tomcat.home = ${tomcat.home}
| [echo] java.home = /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre
| [echo] node0 = ${env.HOSTNAME}
|
|
| compile:
| [javac] Compiling 14 source files to /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/output/classes
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:35: package junit.framework does not exist
| [javac] import junit.framework.TestCase;
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:51: cannot find symbol
| [javac] symbol: class TestCase
| [javac] public abstract class JBossWSTest extends TestCase
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTestSetup.java:24: package junit.extensions does not exist
| [javac] import junit.extensions.TestSetup;
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTestSetup.java:25: package junit.framework does not exist
| [javac] import junit.framework.TestSuite;
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTestSetup.java:39: cannot find symbol
| [javac] symbol: class TestSetup
| [javac] public class JBossWSTestSetup extends TestSetup
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/docstyle/java/org/jboss/test/ws/samples/docstyle/bare/TrivialServiceDocBareTestCase.java:32: package junit.framework does not exist
| [javac] import junit.framework.Test;
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/docstyle/java/org/jboss/test/ws/samples/docstyle/bare/TrivialServiceDocBareTestCase.java:48: cannot find symbol
| [javac] symbol : class Test
| [javac] location: class org.jboss.test.ws.samples.docstyle.bare.TrivialServiceDocBareTestCase
| [javac] public static Test suite()
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/docstyle/java/org/jboss/test/ws/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java:27: package junit.framework does not exist
| [javac] import junit.framework.Test;
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/docstyle/java/org/jboss/test/ws/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java:48: cannot find symbol
| [javac] symbol : class Test
| [javac] location: class org.jboss.test.ws.samples.docstyle.wrapped.TrivialServiceDocWrappedTestCase
| [javac] public static Test suite()
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:54: cannot find symbol
| [javac] symbol : method getClass()
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] protected Logger log = Logger.getLogger(getClass().getName());
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:168: cannot find symbol
| [javac] symbol : variable TestCase
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] else TestCase.assertEquals(exp, was);
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:180: cannot find symbol
| [javac] symbol : method fail(java.lang.String)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] fail("Expected <" + exp.length + "> array items, but was <" + was.length + ">");
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:195: cannot find symbol
| [javac] symbol : method fail(java.lang.String)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] fail("Expected a null array, but was: " + Arrays.asList(was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:199: cannot find symbol
| [javac] symbol : method fail(java.lang.String)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] fail("Expected " + Arrays.asList(exp) + ", but was: null");
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:205: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:210: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:215: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:220: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:225: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:230: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTest.java:235: cannot find symbol
| [javac] symbol : method assertTrue(java.lang.String,boolean)
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] assertTrue("Arrays don't match", Arrays.equals(exp, was));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/java/org/jboss/test/ws/JBossWSTestSetup.java:46: cannot find symbol
| [javac] symbol : class TestSuite
| [javac] location: class org.jboss.test.ws.JBossWSTestSetup
| [javac] super(new TestSuite(testClass));
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/docstyle/java/org/jboss/test/ws/samples/docstyle/bare/TrivialServiceDocBareTestCase.java:55: cannot find symbol
| [javac] symbol : method setUp()
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] super.setUp();
| [javac] ^
| [javac] /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/docstyle/java/org/jboss/test/ws/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java:55: cannot find symbol
| [javac] symbol : method setUp()
| [javac] location: class org.jboss.test.ws.JBossWSTest
| [javac] super.setUp();
| [javac] ^
| [javac] Note: Some input files use unchecked or unsafe operations.
| [javac] Note: Recompile with -Xlint:unchecked for details.
| [javac] 24 errors
|
| BUILD FAILED
| /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/build.xml:14: The following error occurred while executing this line:
| /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/common/imported-build.xml:133: Compile failed; see the compiler error output for details.
|
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980618#3980618
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980618
17 years, 8 months
[JBossWS] - web services samples
by koriel
I tried to run the samples so when I run ant in the samples directory somewhere in the end I get this exception
| init:
| [echo] jboss.home = /usr/local/jboss-4.0.4.GA/
| [echo] tomcat.home = ${tomcat.home}
| [echo] java.home = /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre
| [echo] node0 = ${env.HOSTNAME}
|
|
| compile15:
|
| copy-resources:
|
| generate-sources:
| [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools).
| [wstools] log4j:WARN Please initialize the log4j system properly.
| [wstools] java.lang.NullPointerException
| [wstools] at java.lang.System.arraycopy(Native Method)
| [wstools] at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(Unknown Source)
| [wstools] at org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java:737)
| [wstools] at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:180)
| [wstools] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
| [wstools] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
| [wstools] at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
| [wstools] at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:121)
| [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:324)
| [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
| [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
| [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
| [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:276)
| [wstools] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| [wstools] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [wstools] at java.lang.reflect.Method.invoke(Method.java:585)
| [wstools] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
| [wstools] at org.apache.tools.ant.Task.perform(Task.java:342)
| [wstools] at org.apache.tools.ant.Target.execute(Target.java:357)
| [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1282)
| [wstools] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
| [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1134)
| [wstools] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:390)
| [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:276)
| [wstools] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| [wstools] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [wstools] at java.lang.reflect.Method.invoke(Method.java:585)
| [wstools] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
| [wstools] at org.apache.tools.ant.Task.perform(Task.java:342)
| [wstools] at org.apache.tools.ant.Target.execute(Target.java:357)
| [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1282)
| [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1251)
| [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
| [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1134)
| [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:698)
| [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:199)
| [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:300)
| [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:106)
|
| BUILD FAILED
| /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/build.xml:23: The following error occurred while executing this line:
| /usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/jsr181pojo/build.xml:28: Error running jbossws:
|
|
|
any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980614#3980614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980614
17 years, 8 months
[JBossWS] - Re: Can't get wstools to work for multiple endpoints in JBos
by dmitri_furman
Here is what I did to work around the issue. I manually modified webservices.xml. I changed the namespace name from impl to impl1, added a new namespace in webservices tag and named it impl2. Look at the file below. The changes are in bold:
<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl1='http://edv.etenet.com/AddressValidationService' xmlns:impl2='http://edv.etenet.com/BenefitsValidationService' 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_web_services_1_1.xsd'>
<webservice-description>
<webservice-description-name>AddressValidationService</webservice-description-name>
<wsdl-file>META-INF/wsdl/AddressValidationService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/AddressValidationService-mapping.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>AddressValidationServiceSEIPort</port-component-name>
<wsdl-port>impl1:AddressValidationServiceSEIPort</wsdl-port>
<service-endpoint-interface>com.psc.edv.avs.ejb.AddressValidationServiceSEI</service-endpoint-interface>
<service-impl-bean>
<ejb-link>AddressValidationService</ejb-link>
</service-impl-bean>
<handler-name>com.psc.edv.audit.AuditHandler</handler-name>
<handler-class>com.psc.edv.audit.AuditHandler</handler-class>
</port-component>
</webservice-description>
<webservice-description>
<webservice-description-name>BenefitsValidationService</webservice-description-name>
<wsdl-file>META-INF/wsdl/BenefitsValidationService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/BenefitsValidationService-mapping.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>BenefitsValidationServiceSEIPort</port-component-name>
<wsdl-port>impl2:BenefitsValidationServiceSEIPort</wsdl-port>
<service-endpoint-interface>com.psc.edv.bvs.ejb.BenefitsValidationServiceSEI</service-endpoint-interface>
<service-impl-bean>
<ejb-link>BenefitsValidationService</ejb-link>
</service-impl-bean>
<handler-name>com.psc.edv.audit.AuditHandler</handler-name>
<handler-class>com.psc.edv.audit.AuditHandler</handler-class>
</port-component>
</webservice-description>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980544#3980544
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980544
17 years, 8 months
[JBossWS] - jws & visual b. soapsdk3.0, namespaces. JAXRPCException: Can
by delkant
jbossws and visual basic 6 soapsdk3.0, namespaces. JAXRPCException: Cannot find child element: String_1
hi,
i'm using the soapsdk webservices tool for visual 6, trying to consume a webservice described with jbossws. this WS is also tested by a junit module, so it is working.
when the packages are scaning in the network to see the soap message i get this.
from my visual b. client
|
| POST /eset/EsetContribuyenteWS HTTP/1.1
|
| SOAPAction: ""
|
| Content-Type: text/xml; charset="UTF-8"
|
| User-Agent: SOAP Toolkit 3.0
|
| Host: rdelcanto:8080
|
| Content-Length: 1420
|
| Connection: Keep-Alive
|
| Cache-Control: no-cache
|
| Pragma: no-cache
|
|
|
|
| <?xml version="1.0" encoding="UTF-8" standalone="no"?>
| <SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
| xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
| xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/"
| xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
| <SOAP-ENV:Body>
| <SOAPSDK4:save
| xmlns:SOAPSDK4="http://localhost/eset/py/ServiceWS">
|
|
| <SOAPSDK4:name>SFOB936890A</SOAPSDK4:name>
|
| <SOAPSDK4:key>33</SOAPSDK4:key>
| <SOAPSDK4:xml>
|
| (a valid xml)
|
|
| </SOAPSDK4:xml>
| <SOAPSDK4:nroHash>8a250892</SOAPSDK4:nroHash></SOAPSDK4:save></SOAP-ENV:Body>
| </SOAP-ENV:Envelope>
| HTTP/1.1 500 Internal Server Error
|
| Server: Apache-Coyote/1.1
|
| X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5
|
| Set-Cookie: JSESSIONID=4941408F2755F3533A7050AD12C7B2C8; Path=/
|
| Content-Type: text/xml;charset=UTF-8
|
| Transfer-Encoding: chunked
|
| Date: Mon, 23 Oct 2006 22:33:51 GMT
|
| Connection: close
|
|
|
| 51
|
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header/>
|
|
| 2a
|
| <env:Body><env:Fault><faultcode>env:Client
|
|
| c
|
| </faultcode>
|
|
| 2f
|
| <faultstring>Cannot find child element: name
|
|
| e
|
| </faultstring>
|
|
| c
|
| </env:Fault>
|
|
| b
|
| </env:Body>
|
|
| f
|
| </env:Envelope>
|
|
| 0
|
|
|
|
i think the problem is in the SOAPSDK4 namespace.. because without that name everything works fine, the thing is that
i can't remove tha namespace becaus is generated by the soapsdk program from our friend Bill.
my wsdl
|
|
| <definitions name="ServiceWS" targetNamespace="http://localhost/eset/py/ServiceWS">
| <types/>
| ?
| <message name="ServiceWSEndPoint_save">
| <part name="name" type="xsd:string"/>
| <part name="key" type="xsd:string"/>
| <part name="xml" type="xsd:string"/>
| <part name="nroHash" type="xsd:string"/>
| </message>
| ?
| <message name="ServiceWSEndPoint_guardarDDJJResponse">
| <part name="result" type="xsd:string"/>
| </message>
| ?
| <portType name="ServiceWSEndPoint">
| ?
| <operation name="guardarDDJJ" parameterOrder="Usuario Clave xmlDDJJ nroHash">
| <input message="tns:ServiceWSEndPoint_save"/>
| <output message="tns:ServiceWSEndPoint_saveResponse"/>
| </operation>
| </portType>
| ?
| <binding name="ServiceWSEndPointBinding" type="tns:ServiceWSEndPoint">
| <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
| ?
| <operation name="save">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body namespace="http://localhost/eset/py/ServiceWS" use="literal"/>
| </input>
| ?
| <output>
| <soap:body namespace="http://localhost/eset/py/ServiceWS" use="literal"/>
| </output>
| </operation>
| </binding>
| ?
| <service name="ServiceWS">
| ?
| <port binding="tns:ServiceWSEndPointBinding" name="ServiceWSEndPointPort">
| <soap:address location="http://delkant:8080/eset/ServiceWS"/>
| </port>
| </service>
| </definitions>
|
|
so, the cuestion is, how i can solve this?.
i dont want to use visual but i have to.
will we have a version of jbossws with a support for this feauture?
thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980411#3980411
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980411
17 years, 8 months