Could not deploy policy for resource: type= url , application=MySecurex,
Hi
My situation :
I have 2 managed weblogic portal 10.3.0 managed servers in a cluster and 1 admin server. All are running as a service.
Deployments of new versions of applications are submitted by an automated script.
The steps in the script are :
- stop the services of the managed servers
- undeploy the previous version by using ant task
<target name="undeploy_old" description="undeploy old application" depends="downloadFiles">
<java classname="weblogic.Deployer" output="./temp/${buildProject}_${deployEnv}/${buildVersion}/undeploy.txt" fork="yes">
<arg value="-adminurl" /> <arg value="${adminurl}" />
<arg value="-username" /> <arg value="${weblogic_user}" />
<arg value="-password" /> <arg value="${weblogic_pwd}" />
<arg value="-undeploy" />
<arg value="-name" />
<arg value="${buildProject}" />
<arg value="-verbose" />
<classpath refid="project.class.path"/>
</java> - deploy the new version by using ant task
<java classname="weblogic.Deployer"
output="./temp/${buildProject}_${deployEnv}/${buildVersion}/deploy.txt"
fork="yes"
maxmemory="512m"
inputstring="" >
<arg value="-adminurl" /> <arg value="${adminurl}" />
<arg value="-username" /> <arg value="${weblogic_user}" />
<arg value="-password" /> <arg value="${weblogic_pwd}" />
<arg value="-stage" />
<arg value="-verbose" />
<arg value="-upload" />
<arg value="-deploy" />
<arg value="-name" /> <arg value="${buildProject}" />
<arg value="-source" /> <arg value="./temp/${buildProject}_${deployEnv}/${buildVersion}/${buildProject}.ear" />
<arg value="-targets" /> <arg value="${deploytargetinstances}" />
<classpath refid="project.class.path"/>
</java>- start the services of the managed servers
Problem:
When the managed servers are restarting and the new version is going to prepared status, an error occurs for the new version of the application :
####<27-dec-2011 13.42 u. CET> <Info> <Deployer> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758076> <BEA-149059> <Module MySecurexEarAdmin of application MySecurex is transitioning from STATE_NEW to STATE_PREPARED on server s40beaportacc1p9106.>
####<27-dec-2011 13.42 u. CET> <Error> <Security> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-090064> <The DeployableAuthorizer "myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.>
####<27-dec-2011 13.42 u. CET> <Error> <HTTP> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-101199> <Could not deploy policy for resource: type=<url>, application=MySecurex, contextPath=/MySecurexEarAdmin, uri=/campaigns/emails/*.
weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:173)
at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(Unknown Source)
at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(Unknown Source)
at weblogic.security.service.AuthorizationManager.deployPolicy(Unknown Source)
at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1189)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1121)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:119)
at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:162)
at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
weblogic.management.utils.CreateException:
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:241)
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:112)
com.bea.security.xacml.PolicyStoreException: <openjpa-1.1.0-r422266:657916 fatal store error> kodo.jdo.FatalDataStoreException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:684)
at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:576)
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
<openjpa-1.1.0-r422266:657916 nonfatal store error> kodo.jdo.ObjectNotFoundException: The instance "netscape.ldap.LDAPException: error result (32)" does not exist in the data store.
FailedObject: netscape.ldap.LDAPException: error result (32)
at com.bea.common.ldap.LDAPStoreManager.flush(LDAPStoreManager.java:370)
at org.apache.openjpa.abstractstore.AbstractStoreManager.flush(AbstractStoreManager.java:277)
at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
at org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:554)
at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007)
....>
My workaround:
Delete the <domain>\servers\s40beaportacc1p9106\data\ldap directory on the managed servers and restart
Does anyone knows what causes the error and how to solve it?
The goal is to be able to deploy our application by automation.
You must use not the original bean that you coded. You must use the bean generated by axis-wsdl2java.
The bean generated by axis-wsdl2java is:
- in the first beanMapping: MSPCSService.SMSMO
- in the second beanMapping: MSPCSService.SMSMOResponse
As you can see, the bean the axis-wsdl2java will generate is build with the namespace + "." + qname. If you use an domain like java.sun.com in namespace, then the package name you will use is inverted (in the sample, com.sun.java). Look at the code generated.
You client must use this beans, not the original coded by you.
This must work, worked for me :)
Similar Messages
-
Error in ALE service 29 Could not determine recipients for message type MAT
Hi Experts,
While transferring the material using ALE am getting error 29 ie 'Error in ALE service' and message is 'Could not determine recipients for message type MATFET'.
Also i ve recieved the materials with the proper status al the end am getting the above error.
Kindly help me out.
Thanks in advance.Hi ,
Status 29 means " partner profile not found " . Please check if the recieving partner is configured properly in WE20 in sender system.
Also make sure that the Port and RFC definations are also completed. If the IDoc is manually triggered then please make sure that control record parameters of the idoc are properly filled - if we miss the details ( like wrong port given , wrong basic type for message type - or extended message type ) then also the idoc will fail in status 29 even though the partner profile is properly configured .
Since your idoc is getting generated i think no issues with BD64 since already interested recipeints were populated in control record of idoc.
Regards
Vikas Chaudhary -
[ERROR] could not find source for resource bundle modules.
We are in the process of upgrading our flex application from SDK3.6 to SDK4.5.0.17899.
Flexmojos version used for compilation is 3.9.
The flex library project is complied with SDK4.5.0 version but BUILD is not getting SUCESS from maven.
The following is the reason is showing and unable to find out the root cause.
[ERROR] could not find source for resource bundle modules.
Can you please help me out.
Thanks,Copying
/Software/FB\ Eclipse\ Plugin/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/2.0.1/frameworks/locale/en_US/charts_rb.swc into
the 3.5 SDK directory
/usr/local/lib/flex_sdk/3.5.0/frameworks/locale/en_US
solves the problem.
Not sure why as the charts_rb.swc comes from Flex 2.0 -
Error: could not find source for resource bundle charts
I am trying to upgrade from Flex SDk 3.4 to 3.5.
I have copied the Data Visualisation SWCs under libs, locale and rlsls folders as suggested by adobe.
I get the following error when building the application
flex-library:
[java] Loading configuration file /usr/local/lib/flex_sdk/3.5.0/frameworks/flex-config.xml
[java] Error: could not find source for resource bundle charts.
[java]
What am I missing? Any help is highly appreciated.
ThanksCopying
/Software/FB\ Eclipse\ Plugin/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/2.0.1/frameworks/locale/en_US/charts_rb.swc into
the 3.5 SDK directory
/usr/local/lib/flex_sdk/3.5.0/frameworks/locale/en_US
solves the problem.
Not sure why as the charts_rb.swc comes from Flex 2.0 -
Could not determine recipients for message type HRMD_B
Hi,
I am getting below Error in SRM when transferring Org Structure data from HCM system to SRM system in a Idoc. I am using Message type HRMD_ABA and not HRMD_B. I didn't maintain Distribution model for HRMD_B. But in my IDOC status I am seeing below error message for Message type HRMD_ABA Inbound to SRM.
Only I am seeing HRMD_B message type in transactions WE81 and WE82.
Any idea? I appreciate your help.
Could not determine recipients for message type HRMD_B
Message no. B1003
Diagnosis
An IDoc of message type HRMD_B was passed to the ALE layer, but the three receiver fields in the header record were not filled. In this case the ALE layer tries to determine the receivers from the entries in the distribution model. There are no entries available in the distribution model for the above message type.
Procedure
Define the receivers in your distribution model for this message type or deactivate distribution for these message types.
Thanks,
ShearsHi Shears
Did you find soulution to your issue ??
thanks
Anup -
Message no. B1003""Could not determine recipients for message type ACPJMM""
Hi All,
While posting GR in MIGO, an error is showing. I am attaching the error description.
""Could not determine recipients for message type ACPJMM""
Message no. B1003
Diagnosis
An IDoc of message type ACPJMM was passed to the ALE layer, but the three receiver fields in the header record were not filled. In this case the ALE layer tries to determine the receivers from the entries in the distribution model. There are no entries available in the distribution model for the above message type.
Procedure
Define the receivers in your distribution model for this message type or deactivate distribution for these message types.
Yesterday it was not coming and GR was getting posted.. I was doing configurations for CIN and day before yesterday everything was done,all the registers were getting updated. For that I did many customisation in SPRO. I did settings in tax ion goods monement. and in Material master to assign screen sequence for foreign trade data screen. Is any customozation triggerring IDoc? Earlier also this came, that time we got client copy, but the problem is recurring. Its very urgent as we are going to transport SPRO settings to production.
Solutions will be rewarded.
regards
B Shar
Edited by: Ian Wong on Jul 4, 2008 4:48 PMHi
If you are not working with ALE & this message comes, then somone has mistakenly activated ALE linkages for IDoc Output in Accounting.
if you want to keep this active & go forward, you need to complete the Distribution model customizng in BD64.
Thanks & Regards
Kishore -
Error In MIGO "Could not determine recipients for message type ACPJMM"
Dear all,
At the time of transaction Goods Receipt(MIGO), I am getting the error message "Could not determine recipients for message type ACPJMM".
System Diagnosis is as below
An IDoc of message type ACPJMM was passed to the ALE layer, but the three receiver fields in the header record were not filled. In this case the ALE layer tries to determine the receivers from the entries in the distribution model. There are no entries available in the distribution model for the above message type
I have check the ALE Settings in we20 and we21
and have assigned the following message types under Logical syste Partner Type
Outbound
ACPJMM
MATMAS
MBGMCR
RSINFO
RSSEND
WHSORD
Inbound
ACPJMM
DEBMAS
FTDABA
FTDACO
FTDACU
INSPECTIONPLAN_CREATE
MATMAS
MBGMCR
RSRQST
WHSCON
I have also created and Assigned a Logical System to the client and have also created a RFC with the same name
I have checked all settings is SALE and they are Fine.
This is a single system
Please help this is really ugrent
Regards
Suhail JohnHi,
Goto table TRWCA (T Code SE30) and deselect all the checked entries.
This should solve your problem.
Regards,
Priyadarshi -
Error - Could not determine recipients for message type ACP JMM
Hi Guru's
I am facing a problem while doing goods receipt(migo), "Could not determine recipients for message type ACPJMM".
Right answer will be rewarded
Regardshi
If you want to deactivate this goto SM30, enter the table TRWCA, deactivate the component
RWEX - Idoc Output, External Accounting.
this should solve your problem.
refer following links
Message type ACPJMM
Message no. B1003""Could not determine recipients for message type ACPJMM""
MIGO and MIRO Problum
regards
kunal
Edited by: kunal ingale on Sep 2, 2008 11:46 AM -
Could not determine recipients for message type ACPJMM
Dear Experts,
while i am trying PGI getting error message " Could not determine recipients for message type ACPJMM'
Kindly let me know wt is the reason and where i should changes for getting clear?
Thanks in advance
ishikeshHi Ishikesh,
If you want to deactivate this goto SM30, enter the table TRWCA, deactivate the component
RWEX - Idoc Output, External Accounting.
this should solve your problem.
refer following links
[Message type ACPJMM;
[Message no. B1003""Could not determine recipients for message type ACPJMM"";
[MIGO and MIRO Problum;
Regards,
Karthik -
Could not determine recipients for message type ACLPAY
Dear friends,
I am getting error while doing Invoice Verification as "Could not determine recipients for message type ACLPAY"
Please advice how to resolve this issue.
ThanksHi
This is IDOC settings for message type ACLPAY there is no receipient please check transaction code WE20 and please get in touch with your technical team
Thanks & Regards
Phaneendra -
Could not determine recipients for message type BUPA_INBOUND_MAIN_SAVE_M
We are upgrading CRM from 4.0 to 7.0
While synchronizing a business partner from CRM to ECC, the IDOC control Data section shows no information on the "Receiver Information" Section.It also provides error as "Could not determine recipients for message type BUPA_INBOUND_MAIN_SAVE_M" with error No 29, Outbound Error in ALE.
The Message Type (BUPA_INBOUND_MAIN_SAVE_M) and the Basic Type (BUPA_INBOUND_MAIN_SAVE_M03) was not used in the CRM 4.0 and not sure the reason it apprears now in the IDOC.
The relevant BDOC is not created/shown in transaction SMW01.
We have verified WE20,21, BD64 in ECC
Any advice is greatly appreciated.
Regards
DhinaHi,
Please check below note if it helpful to you in resolving the issue.
Note 1447734 - Enhancement of message type BUPA_INBOUND_MAIN_SAVE_M
Thanks,
George -
I'm on a mac running 10.6.8, was using Firefox 6.02 when the problem started, i performed a clean install of 7.01, installed the latest Flashplayer, and reinstalled java (the 10.6.5 update file from apple's site).
I seem able to load video at youtube.com, and was able to load web-based irc chatrooms at ircchat.tv. however, at jamplay.com a paid member site, all of the lessons are flash video, and there's a live video feed chat room that is also flash based, and I am not able to view this content. the video content pops up the error message "Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect?
URL: /includes/javascript/xajax_js/xajax.js" and the clicking on the "launch chatroom" button does exactly nothing.
I have contacted the jamplay site team but their recommendations are the steps I have already taken, mentioned above, that did not resolve the issue.
some links to content on their site visible without being a member:
http://www.jamplay.com/
this one has a flash interface that, if things were working, would have a video in the center and members and staff talking abouth that area of the site when you click on one of the title buttons. Now that I am having this problem, nothing is clickable and there's no indication that there should be a video in the center. The error message regarding xajax does not come up at all.
http://www.jamplay.com/guitar-lessons/beginners/1/527-16-circle-of-fifths
same thing. video content is missing, xajax error does not appear.
http://www.jamplay.com/live
when I load these all content except the video loads on the page. this page does not give me the error at all, just does not load the video
I can't seem to recreate the actual error without being logged in as a member of the site.
The apple support team gave me a one-time free suppport ticket to troubleshoot an ethernet issue I was having. Unfortunately, the databases I removed were not deemed either by apple or me to be noteworthy or necessary to retain (all of them were for software I not longer have or use). I don't know which plist file might have been the one I need now. I did reinstall the java and flash items. The only other item that I think it might be is a set of belkin router software that I uninstalled because i'm not using any belkin hardware anymore.
If someone has any kind of idea I would be most appreciative.That's a comment in the file. It has no effect at all.
-
Could not find the principal resource for user id: paf
I think I have set up iCal server correctly on a MacOSX 10.5.1 server (upgraded from 10.4.x). But regardless of how many different URLs etc I am trying, I can neither access calendars, nor subscribe to them. I am trying both with Safari and Firefox and iCal client on MacOSX 10.5.1.
I have iCal service running.
I have added the user "paf" that have full admin access, and also calendar service is turned on on the server calendar.frobbit.se. Calendar.frobbit.se is one of the hostnames for the server btw.
I have a group called "canusecalendar" that "paf" is a member of.
The access for iCal service on the host is for the group canusecalendar and for the user paf, where paf is administrator.
The closest I have come is when I use a web browser and try to access any URL starting with http://calendar.frobbit.se:8008/. It ask for login, I give the credentials, and in the error log for the iCal service I see the following:
<pre>2008-02-10 20:46:57+0100 [-] [caldav-8009] [AMP,client] Could not find the principal resource for user id: paf</pre>
I do see tons of postings by people that more or less guess what URIs to use in browsers, for group calendars, in iCal client when connecting to an account or subscribing. Does anyone on this list know of an authoritative list of URLs that one should use here and there? The closest I have come is the "advanced" section of the iCal Administration document from Apple.Yes, I add users using workgroup manager, although the one I now use was added already in version 10.4 of MacOSX Server. I.e. before I upgraded to 10.5.
Here is error.log (after that access.log):
<pre>
2008-02-11 20:32:23+0100 [-] Log opened.
2008-02-11 20:32:23+0100 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
2008-02-11 20:32:23+0100 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-02-11 20:32:23+0100 [-] 4 processors found, configuring 4 processes.
2008-02-11 20:32:23+0100 [-] Adding pydirector service with configuration: /tmp/pydirtLZ2ZY
2008-02-11 20:32:23+0100 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd.sock'"
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Log opened.
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Log opened.
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Log opened.
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Log opened.
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up document root at: /Library/CalendarServer/Documents
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up default ACEs on root resource
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up AdminPrincipals
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting root ACL
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Configuring authentication for realm: /Search
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up scheme: kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up document root at: /Library/CalendarServer/Documents
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up document root at: /Library/CalendarServer/Documents
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up default ACEs on root resource
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up AdminPrincipals
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting root ACL
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up default ACEs on root resource
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up AdminPrincipals
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting root ACL
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up document root at: /Library/CalendarServer/Documents
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up default ACEs on root resource
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up AdminPrincipals
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting root ACL
2008-02-11 20:32:23+0100 [-] [caldav-8009] [KerberosCredentialFactoryBase] getServerPrincipalDetails: ('Principal not found in keytab', -1)
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Could not start Kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up scheme: digest
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Configuring authentication for realm: /Search
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up scheme: kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Configuring authentication for realm: /Search
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up scheme: kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Configuring authentication for realm: /Search
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up scheme: kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8011] [KerberosCredentialFactoryBase] getServerPrincipalDetails: ('Principal not found in keytab', -1)
2008-02-11 20:32:23+0100 [-] [caldav-8012] [KerberosCredentialFactoryBase] getServerPrincipalDetails: ('Principal not found in keytab', -1)
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Could not start Kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8012] [-] Setting up scheme: digest
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Could not start Kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8011] [-] Setting up scheme: digest
2008-02-11 20:32:23+0100 [-] [caldav-8010] [KerberosCredentialFactoryBase] getServerPrincipalDetails: ('Principal not found in keytab', -1)
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Could not start Kerberos
2008-02-11 20:32:23+0100 [-] [caldav-8010] [-] Setting up scheme: digest
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Configuring authentication wrapper
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Setting up service
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x145c930>
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Adding server at 127.0.0.1:8009
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Adding SSL server at 127.0.0.1:8444
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] twisted.web2.channel.http.HTTPFactory starting on 8009
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x14595a8>
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] twisted.web2.channel.http.HTTPFactory starting on 8444
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] set uid/gid 93/93
2008-02-11 20:32:23+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:32:23+0100 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] Configuring authentication wrapper
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] Setting up service
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] Configuring authentication wrapper
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] Setting up service
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x145c7b0>
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] Configuring authentication wrapper
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] Setting up service
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x145c7b0>
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] Adding server at 127.0.0.1:8011
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x145c7b0>
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] Adding server at 127.0.0.1:8012
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] Adding SSL server at 127.0.0.1:8447
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] Adding server at 127.0.0.1:8010
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] Adding SSL server at 127.0.0.1:8445
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] Adding SSL server at 127.0.0.1:8446
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] twisted.web2.channel.http.HTTPFactory starting on 8012
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x14595a8>
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] twisted.web2.channel.http.HTTPFactory starting on 8010
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x14595a8>
2008-02-11 20:32:24+0100 [-] [caldav-8010] [-] twisted.web2.channel.http.HTTPFactory starting on 8445
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] twisted.web2.channel.http.HTTPFactory starting on 8011
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x14595a8>
2008-02-11 20:32:24+0100 [-] [caldav-8011] [-] twisted.web2.channel.http.HTTPFactory starting on 8446
2008-02-11 20:32:24+0100 [-] [caldav-8012] [-] twisted.web2.channel.http.HTTPFactory starting on 8447
2008-02-11 20:32:25+0100 [-] [caldav-8012] [-] set uid/gid 93/93
2008-02-11 20:32:25+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:32:25+0100 [-] [caldav-8012] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2008-02-11 20:32:25+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:32:25+0100 [-] [caldav-8010] [-] set uid/gid 93/93
2008-02-11 20:32:25+0100 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2008-02-11 20:32:25+0100 [-] [caldav-8011] [-] set uid/gid 93/93
2008-02-11 20:32:25+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:32:25+0100 [-] [caldav-8011] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2008-02-11 20:32:57+0100 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
2008-02-11 20:32:57+0100 [-] [caldav-8009] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
2008-02-11 20:33:04+0100 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
2008-02-11 20:33:04+0100 [-] [caldav-8010] [AMP,client] Could not find the principal resource for user id: paf
2008-02-11 20:33:35+0100 [-] Received SIGTERM, shutting down.
2008-02-11 20:33:35+0100 [-] (Port None Closed)
2008-02-11 20:33:35+0100 [AMPLoggingProtocol,0,] AMPLoggingProtocol connection lost (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:33:35+0100 [AMPLoggingProtocol,1,] AMPLoggingProtocol connection lost (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:33:35+0100 [AMPLoggingProtocol,2,] AMPLoggingProtocol connection lost (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:33:35+0100 [AMPLoggingProtocol,3,] AMPLoggingProtocol connection lost (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2008-02-11 20:33:35+0100 [-] Main loop terminated.
2008-02-11 20:33:35+0100 [-] Server Shut Down.
</pre>
And here is access.log:
<pre>
Log opened - server start: [Mon Feb 11 20:32:23 2008].
192.165.72.12 - - [11/Feb/2008:20:32:57 +0200] "GET / HTTP/1.1" 401 141 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.10.6 (KHTML, like Gecko) Version/3.0.4 Safari/523.10.6" [6.4 ms]
192.165.72.12 - - [11/Feb/2008:20:33:04 +0200] "GET / HTTP/1.1" 403 123 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.10.6 (KHTML, like Gecko) Version/3.0.4 Safari/523.10.6" [60.7 ms]
Log closed - server stop: [Mon Feb 11 20:33:35 2008].
</pre> -
Deserializer error : could not find deserializer for type
Hi folks,
I am trying to send a XML file in web service request and trying to get the same back, I am getting the following exception while trying to do this,
org.xml.sax.SAXException: Deserializing parameter 'echo': could not find deserializer for type {Echo}echo
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter 'echo': could not find deserializer for type {Echo}echo
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:localhost
org.xml.sax.SAXException: Deserializing parameter 'echo': could not find deserializer for type {Echo}echo
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.sel.services.EchoRequest.main(EchoRequest.java:42)
The following is my client code,
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory;
import org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory;
public class EchoRequest {
* @param args
public static void main(String[] args) {
try {
String endpoint = "http://localhost:8080/axis/Echo.jws";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(new QName(("Echo"),"DataHandler"));
QName qName = new QName("Echo" , "echo");
DataHandler dhSource = new DataHandler(new FileDataSource("D:/Workspace/Sandbox/Request.xml"));
call.registerTypeMapping(dhSource.getClass(),qName,JAFDataHandlerSerializerFactory.class,JAFDataHandlerDeserializerFactory.class );
call.addParameter("echo", qName , ParameterMode.IN);
call.setProperty(call.ATTACHMENT_ENCAPSULATION_FORMAT, call.ATTACHMENT_ENCAPSULATION_FORMAT_MIME);
call.setReturnType(qName);
Object ret = call.invoke(new Object[] {dhSource});
System.out.println();
} catch (Exception e) {
System.err.println(e.toString());
e.printStackTrace();
}The following is my jws,
import java.io.Serializable;
import javax.activation.DataHandler;
public class Echo implements Serializable{
public DataHandler echo(DataHandler echo){
return echo;
}The following is my deploy.wsdd,
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:ns1="Echo">
<service name="Echo" provider="java:RPC">
<parameter name="className" value="Echo"/>
<parameter name="allowedMethods" value="echo"/>
<operation name="echoString" returnQName="returnqName" returnType="ns1:DataHandler">
<parameter name="echo" type="ns1:DataHandler"/>
</operation>
<typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory"
languageSpecificType="java:javax.activation.DataHandler" qname="ns1:DataHandler"
serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</service>
</deployment>And following is my server-config.wsdd,
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<globalConfiguration>
<parameter name="sendMultiRefs" value="true"/>
<parameter name="disablePrettyXML" value="true"/>
<parameter name="adminPassword" value="admin"/>
<parameter name="attachments.Directory" value="D:\ApacheTomcat5.5.26\webapps\axis\WEB-INF\attachments"/>
<parameter name="dotNetSoapEncFix" value="true"/>
<parameter name="enableNamespacePrefixOptimization" value="false"/>
<parameter name="sendXMLDeclaration" value="true"/>
<parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
<parameter name="sendXsiTypes" value="true"/>
<requestFlow>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="session"/>
</handler>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="request"/>
<parameter name="extension" value=".jwr"/>
</handler>
</requestFlow>
</globalConfiguration>
<handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
<handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
<handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<service name="AdminService" provider="java:MSG">
<parameter name="allowedMethods" value="AdminService"/>
<parameter name="enableRemoteAdmin" value="false"/>
<parameter name="className" value="org.apache.axis.utils.Admin"/>
<namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
<service name="Version" provider="java:RPC">
<parameter name="allowedMethods" value="getVersion"/>
<parameter name="className" value="org.apache.axis.Version"/>
</service>
<service name="Echo" provider="java:RPC">
<operation name="echoString" returnQName="returnqName" returnType="ns1:DataHandler" soapAction="" xmlns:ns1="Echo">
<parameter name="echo" type="ns1:DataHandler"/>
</operation>
<parameter name="allowedMethods" value="echo"/>
<parameter name="className" value="Echo"/>
<typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns2:DataHandler" serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" type="java:javax.activation.DataHandler" xmlns:ns2="Echo"/>
</service>
<transport name="http">
<requestFlow>
<handler type="URLMapper"/>
<handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
</requestFlow>
<parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
<parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
<parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
<parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
<parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
<parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
</transport>
<transport name="local">
<responseFlow>
<handler type="LocalResponder"/>
</responseFlow>
</transport>
</deployment>The following is the directory structure which I have in my tomcat for this service
- axis
-----WEB-INF
----------classes
----------jwsClasses
----------lib
----------deploy.wsdd
----------server-config.wsdd
I am really not sure where I am getting wrong. Please help me with this.
Thanks
Edited by: Jadaaih on Jun 19, 2008 1:52 AMOk, this may not be your problem, but I was getting this error as well.
I had multiple services running, and I was able to use SOAP test clients and connect to them and get responses, no problem.
I wrote some client code to connect to one, and it worked just fine.
Then I wrote some client code to connect to the other, and I got an error like
faultString: org.xml.sax.SAXException: Deserializing parameter 'initiateIn': could not find deserializer for type {urn:SOAPFulfillmentAPI}DoSomething
...I tore my hair out trying to figure out why a service that functions perfectly using other tests would fail in java. Then I realized I was pointing to the end point URL.
It looks like AJAX tries to deserialize the parameters before it does any of basic sanity check to see the method your looking for even exists (even in debug mode). So instead of getting a useful error like "Cant find method 'DoSomething' " you get some crap about not being able to understand the datatype for an arguement.
I hope this helps someone one day =) -
Javax.naming.NamingException: Could not obtain InitialContext for URL
Hello Folks,
I am getting an error
"javax.naming.NamingException: Could not obtain InitialContext for URL" when I am trying to call a servlet(deployed in an ear file in weblogic server) from a client.
Any help or suggestion would be highly appeciable. Please let me know if any further information is required
Regards
PankajI encounter the same issues when using the TimerTask to access the JNDI tree. I have found success when I move my business logic to an EJB and call my EJB from my TimerTask. It's a bit more work, but not much. The EJB inherits it's identity based on it's configuration and has no trouble accessing the JNDI tree whenever it's called. Try this and see if your problem doesn't go away.
Hope this helps,
Perry Tew
Maybe you are looking for
-
Problem dysplayin list in visual compser with bapi_material_getlist
Hi helpers, I'm currently trying to display the list of all the material I have using Bapi_material_getlist in visual composer. When I press the submit button, nothing appear in my table. I've read that you have to turn MATNRLIST into an input and e
-
MD04 - stock/requirements list
hi all, can anyone enlighten me on the date of mrp element prdord? how is this date derive from (a formula)? i had a report that extract prod. order confirmations and needed to incorporate this date from MD04. thanks!
-
New feature that would be handy
I do a lot of live recording, In one night the maybe 30 - 40 tracks played, Most of the time i treat them all with the same settings but not always, what i think would be a great idea is to turn material between markers into new arrangements, so for
-
Lion was just installed by Genius bar and I am updating software. Also did 10.7.4 update. The driver for my Brother MFC-J6710DW will not install. Have downloaded it three times. When I try to print I get the message that there is new software to
-
Every time I try to update Adobe Reader 11 it fails and I get this message %PUBLIC%\Desktop\., I have tried to uninstall it to reinstall it but I am unable to, can you please help. Regyeo