Problems with the XML format

iyancrook

New Member
I'm creating a wesite which communicates with the server through xml's. In my localhost everything works perfectly fine. Although when upload my website to the server instead of this xml format:\[code\]<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <quser xmlns="http://www...ckp" xmlns:atom="http://www.w3.org/2005/atom"> <username>name</username></quser>\[/code\]I;m taking this one:\[code\] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> < :quser xmlns: ="http://www2.macs.hw.ac.uk/ckp" xmlns:atom="http://www.w3.org/2005/atom"> < :username>readered</ :username> <:quser>\[/code\]I declare in my model the following package-info.class\[code\]@javax.xml.bind.annotation.XmlSchema ( namespace="http://www../ckp", elementFormDefault=XmlNsForm.QUALIFIED, xmlns = { @javax.xml.bind.annotation.XmlNs( prefix=" ", namespaceURI="http://www..ckp"), @javax.xml.bind.annotation.XmlNs( prefix="atom" ,namespaceURI="http://www.w3.org/2005/atom") } ) package model.login; import javax.xml.bind.annotation.*;\[/code\]As i told you in my localhost is working perfectly fine but in the server even if i change the prefix(just for testing i set it prefix="xs") doesn't adopt the changes. Only in my localhost adopt it. Its very wired if you think that the changes i made in my loclhost,when i debug and upload the code on the server should contain them.Moreover, i realise that i forgot some JAXB libraries into the WEB-INF. Just for testing i insert my libs and into the main program library. Then i took and in my localhost the same xml format as in the server. So i decide to delete these libraries from both places. After this in my localhost everything works again but in the server not. Please if anyone face or knows something regard to this issue to give me some instructions.
 
Back
Top