I have noticed that when transfering odd characters off of an Active
Directory principal attribute set, I get the following errors:

2007-01-03 16:05:54,468 http-8080-Processor25 FATAL
[service.soap.client.SecurityServerClient] Unable to connect to the crowd
server: Could not invoke service.. Nested exception is
org.codehaus.xfire.fault.XFireFault: Error parsing document.. Nested
exception is com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal
character ((CTRL-CHAR, code 17))
at [row,col {unknown-source}]: [1,4337]
org.codehaus.xfire.XFireRuntimeException: Could not invoke service..
Nested exception is org.codehaus.xfire.fault.XFireFault: Error parsing
document.. Nested exception is
com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character
((CTRL-CHAR, code 17))
at [row,col {unknown-source}]: [1,4337]
org.codehaus.xfire.fault.XFireFault: Error parsing document.. Nested
exception is com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal
character ((CTRL-CHAR, code 17))
at [row,col {unknown-source}]: [1,4337]
at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
at org.codehaus.xfire.client.Client.onReceive(Client.java:386)
at
org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
at org.codehaus.xfire.client.Client.invoke(Client.java:335)
at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy5.findPrincipalByName(Unknown Source)
at
com.atlassian.crowd.integration.service.soap.client.SecurityServerClient.findPrincipalByName(SecurityServerClient.java:270)
at
com.atlassian.crowd.integration.osuser.CrowdBaseProvider.findPrincipalByName(CrowdBaseProvider.java:123)
at
com.atlassian.crowd.integration.osuser.CrowdPropertySet.init(CrowdPropertySet.java:237)
at
com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:45)
at
com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:22)
at
com.atlassian.crowd.integration.osuser.CrowdProfileProvider.getPropertySet(CrowdProfileProvider.java:25)
at com.opensymphony.user.Entity.getPropertySet(Entity.java:87)
at com.opensymphony.user.User.getFullName(User.java:83)

After searching on Google, the following pops up:

http://archive.woodstox.codehaus.org/user/11dae57c0609180322q2c1b9e15v9cbd91546e04737%40mail.gmail.com

The message thread more of less says the following:

- the simples one is to BASE64 encode the content so it becomes "safe"
- string. otherwise one needs to do their own escaping if the content is
- to be embedded inside XML.

Is there a 'workaround' in XFire that will handle this? The only thing I
can think of doing is encoding the objects during the back-end to
soap-service translation.

Cheers,

Justen

-- 
Authentisoft - http://www.authentisoft.com/
IDX - single sign on, simplified.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to