==============================================================
Spanish
==============================================================
Hola a todos,
Primero quiero manifestar que herramientas y aplicativos tengo:
1. Content Server 10.5 y CWS (Content Web Services) desplegados en un Tomcat 7.
2. Un servicio web que carga el archivo en un lugar del content server pero ese lugar tiene una categoria que debo abastecer, así que le envío los metadatos. (Este servicio para realizarlo hice uso del codigo que provee el knowledge en esta url , solo que hice un cambio haciendo uso de la clase Runnable de la clase Tree que se provee aqui)
3. Este servicio está desplegado en un GlassFish 3.1.2.2.
Pruebas que funcionan:
1. Si realizo las pruebas desde un programa de escritorio (Un public static void main..) que apunta a CWS que esta en Tomcat 7, me funciona cargando tanto el archivo a la ubicación y con la metadata)
2. Si realizo las pruebas desde SoapUI que apunta a CWS que esta en Tomcat 7, me funciona cargando tanto el archivo a la ubicación y con la metadata.
Pruebas que no funcionan:
1. Si realizo las pruebas desde un app de escritorio (Un public static void main..) que apunta al servicio web que esta desplegado en GlassFish 3.1.2.2 y luego apunta este a los CWS que estan en Tomcat 7, no me funciona al cargar el archivo pero si me genera el idContext y el encabezado Soap para el cargue del archivo
2. El mismo error sucede desde SoapUI....
En ambos casos el error que devuelve es:
Client received SOAP Fault from server: ContentService.UploadContent() failed on the Livelink Server. No results were returned. Check the Livelink Server thread logs. Please see the server log to find more detail regarding exact cuase of the failure.
Y en el Log del CS aparece este:
com.sun.xml.ws.transport.http.HttpAdapter invokeAsync
Grave: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
Alguno sabrá que hacer al respecto?
Gracias de antemano
==============================================================
English
==============================================================
Hi all,
First, i wanna say that tools have:
1. Content Server 10.5 y CWS (Content Web Services) deployed in Tomcat 7.
2. A WS that upload the file in a site of CS but this site have a asocciate category that i have to fill, so i sent him this metadata. (This WS for make it, i made use of the code that are here, only that i made a change making use of Runnable class of the Tree class that are here)
3. This WS are deployed in GlassFish 3.1.2.2. Server
Test working:
1. If i build a app (public static void main..) that connected with the CWS deployed in Tomcat 7, all work fine (upload metadata and upload file)
2. If i build a test with SoapUI that connected with the CWS deployed in Tomcat 7, all work fine (upload metadata and upload file).
Test no working:
1. If i build a app (public static void main..) that connected with the WS that deployed in GlassFish 3.1.2.2. server and this turn over the CWS deployed in Tomcat 7, all work fine but when i decide to upload file, this generate error.
2. The same error is generate when i build the test with SoapUI..
The error is:
Client received SOAP Fault from server: ContentService.UploadContent() failed on the Livelink Server. No results were returned. Check the Livelink Server thread logs. Please see the server log to find more detail regarding exact cuase of the failure.
And CS log appear:
com.sun.xml.ws.transport.http.HttpAdapter invokeAsync
Grave: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
Anyone know about this?
Thx 4 advance!