Hi and Thank You Tomek. Here is the SOAP message intercepted: ------------------------------------------------------------------------------------- POST /energylixar/ HTTP/1.1 SOAPAction: "http://localhost:8080/energylixar/Service/PutDeviceStatus" Content-Type: text/xml; charset=UTF-8 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; XFire Client +http://xfire.codehaus.org) Host: 127.0.0.1:9080 Expect: 100-continue Content-Length: 2930
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <PutDeviceStatus xmlns="http://localhost:8080/energylixar/Service"> <User xmlns="http://localhost:8080/energylixar/Service">...</User> <Password xmlns="http://localhost:8080/energylixar/Service">...</Password> <ns2:DeviceStatusMessageDoc xmlns="" xmlns:ns2="http://localhost:8080/energylixar/Service"> <CreationDate>2007-03-31T15:03:59</CreationDate> <SequenceNumber>2</SequenceNumber> <Version>test</Version> <Devices> <Device> <SKU>BECHG</SKU> <BECSRefId>2557</BECSRefId> <SerialNumber>112353325633465</SerialNumber> <ConsumerId>3455543</ConsumerId> <DeviceStatus>Active</DeviceStatus> <DeviceStatusEffectiveDate>2007-04-02T15:03:59</DeviceStatusEffectiveDate> </Device> ...all this is correct... <Device> <SKU>BECHVC</SKU> <BECSRefId>2565</BECSRefId> <SerialNumber>A-95753256</SerialNumber> <ConsumerId>3562</ConsumerId> <DeviceStatus>Inactive</DeviceStatus> <DeviceStatusEffectiveDate>2007-04-03T17:55:55</DeviceStatusEffectiveDate> </Device> </Devices> </ns2:DeviceStatusMessageDoc> </PutDeviceStatus> </soap:Body></soap:Envelope> ------------------------------------------------------------------------------------- What I find strange is this tag: <ns2:DeviceStatusMessageDoc xmlns="" xmlns:ns2="http://localhost:8080/energylixar/Service"> I don't have any reference to this ns2 in my wsdl file and though is being created, can you help me understand why ? Anyway I think is wrong with xmlns="" empty... Beside this I don't know what else is wrong in my DOCTYPE declaration. Many Thanks. On Fri, 2007-04-05 at 17:49 +0200, Tomek Sztelak wrote: > Hi > Try to use TCPMON to intercept soap message and see how DOCTYPE > declaration looks like. > > You can find description how to upgrade XFire jars here : > http://www.myeclipseide.com/PNphpBB2-viewtopic-t-15926-sid-32abfe283bfd00f8160332ebe265c301.html > > On 5/4/07, Dragos Pavel <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I'm attempting to implement top-down web services using MyEclipse5.5M2 > > (with XFire 1.2.4) with XFire JAXB2 xml binding, deploying on a JBoss AS > > running on Linux. My wsdl interface that I created passed the validation > > fine. I developed the service implementation class for my web service > > interface, created and coded the test client but when I try to execte > > this client to verify my web service I get this exception: > > > > > > Exception from ServiceClient: Could not invoke service.. Nested > > exception is org.codehaus.xfire.fault.XFireFault: Unexpected character > > '"' (code 34) in DOCTYPE declaration; expected a space between public > > and system identifiers > > at [row,col {unknown-source}]: [4,63] > > > > > > Any idea about this issue? > > > > I found this thread on the myeclipse forum: > > > > http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-14600.html > > > > but funny enough the replies were on other topics not on the subject the > > first person posted and initiated the thread. > > > > Please help me with this if you can, > > Thanks in advance, > > Dragos > > > > PS: if anybody has knowledge about how to upgrade XFire in MyEclipse to > > be able to use the latest 1.2.6 release please let us know; the problem > > is that MyEclipse is organizing the XFire libraries in a different way, > > more precise: the MyEclipse organization done for the XFire and other > > large-frameworks like Spring, is to partition them off to help make > > managing them a little bit easier. It was suggested this: > > "What you *could* do is just remove all the MyEclipse XFire libraries > > from your build path, and go drop the 1.2.5-all JAR into your WEB- > > INF/lib directory instead." > > Well I tried that (droped the 1.2.5 jar into the lib directory and > > removed the original XFire libraries from the path) but it doesn't > > work... > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
