The problem is with the server code not the client. Matthew Good [EMAIL PROTECTED] 720-320-8376
----- Original Message ---- From: Nat <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, January 23, 2007 11:12:45 AM Subject: [xfire-user] Client access to document/literal ws Hi, I am trying to us a Client to access a web service that uses document/literal. I was thinking this would be simple. The code is: Client client = new Client( new URL( "https://xml.studentclearinghouse.org/ws/services/DegreeVerify?wsdl";)); String xml = getXMLRequest(); Object[] results = client.invoke("verifyDegree", new Object[] {xml}); I am getting the error: org.codehaus.xfire.fault.XFireFault: Fatal Error: URI= Line=2: The markup in the document preceding the root element must be well-formed. My first thought was that this is a parsing problem and there was something wrong with the xml that I am passing. However, the xml is coming straight from a sample doc and I've even copied into xmlSpy to verify it is well formed. I'm beginning to think this is an issue with document/literal but I'm not sure. Any help would be greatly appreciated. Thanks in advance, Nat --------------------------------------------------------------------- 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
