Hi,
I used the registrar method without the array of publishes methods and
the service starts up.
However, when calliing any method, the client throws an exception
about some dateTime
type not valid in enoding schema:
15.05.2008 09:31:44:052 ERROR [IndexerClient.getContentTypes:518) -
com.webobjects.foundation.NSForwardException
[javax.xml.rpc.ServiceException] Error processing WSDL document:
java.io.IOException: The XML Schema type 'dateTime' is not valid in
the Schema version 'http://schemas.xmlsoap.org/soap/encoding/'.:Exception
trying to invoke operation: isSynchronizing
com.webobjects.foundation.NSForwardException
[javax.xml.rpc.ServiceException] Error processing WSDL document:
java.io.IOException: The XML Schema type 'dateTime' is not valid in
the Schema version 'http://schemas.xmlsoap.org/soap/encoding/'.:Exception
trying to invoke operation: isSynchronizing
at
com
.webobjects
.webservices.client.WOWebServiceClient.invoke(WOWebServiceClient.java:
491)
at
com
.kontrast.cms.index.client.IndexerClient.isSyncing(IndexerClient.java:
538)
at
com.kontrast.cms.index.client.IndexerClient.invoke(IndexerClient.java:
620)
at
com
.kontrast
.cms.index.client.IndexerClient.getContentTypes(IndexerClient.java:504)
at com.kontrast.cms.index.test.components.Main.contentTypes(Main.java:
78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor
$1.methodValue(NSKeyValueCoding.java:636)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:
1736)
at com.webobjects.foundation.NSKeyValueCoding
$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:
212)
at
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:
1804)
at
com
.webobjects
.appserver
._private
.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at
com
.webobjects
.appserver._private.WOInputList.listInContext(WOInputList.java:77)
at
com
.webobjects
.appserver
._private.WOPopUpButton.appendChildrenToResponse(WOPopUpButton.java:127)
at
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement.appendToResponse(WOHTMLDynamicElement.java:452)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
com
.webobjects
.appserver._private.WOForm.appendChildrenToResponse(WOForm.java:203)
at
com.webobjects.appserver._private.WOForm.appendToResponse(WOForm.java:
186)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1122)
at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:
1385)
at
com
.webobjects
.appserver.WOApplication.appendToResponse(WOApplication.java:1794)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1687)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
226)
at java.lang.Thread.run(Thread.java:613)
Caused by: javax.xml.rpc.ServiceException: Error processing WSDL
document:
java.io.IOException: The XML Schema type 'dateTime' is not valid in
the Schema version 'http://schemas.xmlsoap.org/soap/encoding/'.
at org.apache.axis.client.Service.initService(Service.java:250)
at org.apache.axis.client.Service.<init>(Service.java:165)
at
org
.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:
198)
at
com
.webobjects
.webservices.client.WOWebService.axisService(WOWebService.java:235)
at
com
.webobjects
.webservices
.client.WOWebService.createCallForOperation(WOWebService.java:286)
at
com
.webobjects
.webservices.client.WOWebServiceClient.invoke(WOWebServiceClient.java:
480)
... 36 more
One of the methods I use has a NSTimestamps as arguments:
public static void foo( String, String, String, Integer, String,
String, String, String, Long, NSData, NSTimestamp, NSTimestamp,
Integer )
I checked the schema, there's not datetime data type defined.
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]