wsdl question

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

wsdl question

Post by Hubertus »

Hello

I have defined a service using a implementing dummy process and a standard reply. Now I publish this BS and log in as admin. As far as I understand the docs http://localhost:8080/AwareIM/services/ ... eName?wsdl should now display the wsdl file but not
AXIS error
Could not generate WSDL!
There is no SOAP service at this location
But http://opteron:8080/AwareIM/services shows 3 services (AdminService, Version, DiscoverServices)
Could someone please be so kind and point me in the right direction ?
I use build 947 on Linux

Thanks for your help,
Hubertus
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

There must be a directory AwareIM/Tomcat/webapps/AwareIM/WSDD. Are there any files in this directory?

Are there any error messages in the Tomcat output?

Aware IM deploys web services into the WSDD directory when the first user logs in. This creates a number of files. If there are any errors during this process the errors are written into the output console. We need to see the errors (if any).

Note that the deployment process only happens when you CHANGE something as far as services are concerned. So if you lost the output of the previous deployment you need to either change the service definition or delete the service, publish, login, re-create the service, publish and login. If you just login without changing anything the deployment process will not happen.
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

Thanks for the quick reply. I've never watched the Tomcat logs when a new version get published :shock: But there are indeed several errors
Connecting to server localhost at port 9000

INFO: Calling System.runFinalizersOnExit (true)

INFO: Default locale for machine is de_AT

INFO: Default timezone for machine is Europe/Vienna

INFO: Property UIInputAdaptor.LocaleISOLanguageCode set to 'de'

INFO: Property UIInputAdaptor.LocaleISOCountryCode set to 'AT'

WARN: Retaining default locale

INFO: Property UIInputAdaptor.TimeZone set to 'Europe/Vienna'

WARN: Retaining default timezone

INFO: Property UIInputAdaptor.Logging.LoggingTimeInfo set to 'true'

INFO: Property UIInputAdaptor.Logging.LoggingThreadInfo set to 'false'

INFO: Property UIInputAdaptor.Logging.LoggingPackageInfo set to 'false'

INFO: Property UIInputAdaptor.Logging.RemoteLogSetting set to 'FATAL'

INFO: Checking RemoteLogger

INFO: Logger status=OutputLogger status: loggingTimeInfo = true loggingThreadInfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]

INFO: Property UIInputAdaptor.LogStdout set to 'false'

INFO: UIInputAdaptor creating Controller as instance of com.bas.openadaptor.SingleSourceCtrler

INFO: UIInputAdaptor Initializing Controller

TRACE: Constructing SimpleController

INFO: UIInputAdaptor.Controller setting propsPrefix to UIInputAdaptor.Controller

INFO: UIInputAdaptor.Controller Creating Security Manager

INFO: UIInputAdaptor.Controller No Security Policy in use

TRACE: SimpleController UIInputAdaptor.Controller init complete

INFO: UIInputAdaptor creating PipelineController as instance of org.openadaptor.adaptor.STPipelineController

INFO: No timeout for component initialization.

TRACE: SimpleComponent IS init complete

TRACE: SimpleComponent QS init complete

TRACE: AbstractWriter QS init complete

TRACE: org.openadaptor.adaptor.jms.JMSSink propsPrefix=UIInputAdaptor.QS

TRACE: org.openadaptor.adaptor.jms.JMSSink RetryLimit=-1

TRACE: org.openadaptor.adaptor.jms.JMSSink RetryDelay=100000

TRACE: org.openadaptor.adaptor.jms.JMSSink MessageType=Object

INFO: org.openadaptor.adaptor.jms.JMSSink Initialising JMS Queue/Topic UIInputAdaptor.QS

TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=UIInputAdaptor.QS.Publisher

TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=Queue

TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://localhost:1099/

TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMDI_FACTORY=org.jnp.interfaces.NamingContextFactory

TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE_FACTORY=ConnectionFactory

TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE=queue/defaultinputqueue

TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.ClientID=null

TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.OverrideExistingClientID=false

TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.Transacted=true

TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.DeliveryMode=2

TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.Priority=5

TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.TimeToLive=0

TRACE: org.openadaptor.adaptor.jms.JMSPublisher - establishing JMS connection

TRACE: your JMS vendor implementation of QueueConnectionFactory.createQueueConnection() returns a class which is an instance of TopicConnection as well as an instance of QueueConnection

INFO: org.openadaptor.adaptor.jms.JMSSink Initialisation succeeded for Queue/Topic defaultinputqueue

INFO: UIInputAdaptor.Controller linking IS to QS

INFO: Calling System.runFinalizersOnExit (true)

INFO: Default locale for machine is de_AT

INFO: Default timezone for machine is Europe/Vienna

INFO: Property UIOutputAdaptor.LocaleISOLanguageCode set to 'de'

INFO: Property UIOutputAdaptor.LocaleISOCountryCode set to 'AT'

WARN: Retaining default locale

INFO: Property UIOutputAdaptor.TimeZone set to 'Europe/Vienna'

WARN: Retaining default timezone

INFO: Property UIOutputAdaptor.Logging.LoggingTimeInfo set to 'true'

INFO: Property UIOutputAdaptor.Logging.LoggingThreadInfo set to 'false'

INFO: Property UIOutputAdaptor.Logging.LoggingPackageInfo set to 'false'

INFO: Property UIOutputAdaptor.Logging.RemoteLogSetting set to 'FATAL'

INFO: Checking RemoteLogger

INFO: Logger status=OutputLogger status: loggingTimeInfo = true loggingThreadInfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]

INFO: Property UIOutputAdaptor.LogStdout set to 'false'

INFO: UIOutputAdaptor creating Controller as instance of org.openadaptor.adaptor.SimpleController

INFO: UIOutputAdaptor Initializing Controller

TRACE: Constructing SimpleController

INFO: UIOutputAdaptor.Controller setting propsPrefix to UIOutputAdaptor.Controller

INFO: UIOutputAdaptor.Controller Creating Security Manager

INFO: UIOutputAdaptor.Controller No Security Policy in use

TRACE: SimpleController UIOutputAdaptor.Controller init complete

INFO: UIOutputAdaptor creating PipelineController as instance of org.openadaptor.adaptor.STPipelineController

INFO: No timeout for component initialization.

TRACE: SimpleComponent QS init complete

TRACE: org.openadaptor.adaptor.jms.JMSSource propsPrefix=UIOutputAdaptor.QS

TRACE: org.openadaptor.adaptor.jms.JMSSource RetryLimit=-1

TRACE: org.openadaptor.adaptor.jms.JMSSource RetryDelay=100000

INFO: org.openadaptor.adaptor.jms.JMSSource Initialising JMS Queue/Topic Listener UIOutputAdaptor.QS

TRACE: your JMS vendor implementation of TopicConnectionFactory.createTopicConnection() returns a class which is an instance of QueueConnection as well as an instance of TopicConnection

INFO: org.openadaptor.adaptor.jms.JMSSource Initialisation succeeded for Queue/Topic defaultoutputtopic

TRACE: SimpleComponent SFP init complete

TRACE: SimpleComponent RRP init complete

TRACE: SimpleComponent OS init complete

TRACE: AbstractWriter OS init complete

INFO: UIOutputAdaptor.Controller linking QS to SFP

INFO: UIOutputAdaptor.Controller linking SFP to RRP

INFO: UIOutputAdaptor.Controller linking RRP to OS

Successfully created a connection to the server

Setting session timeout to 1800 seconds.

INFO: UIInputAdaptor.Controller running

TRACE: UIInputAdaptor.Controller - Starting thread for Source IS

INFO: UIOutputAdaptor.Controller running

TRACE: UIOutputAdaptor.Controller - Starting thread for Source QS

INFO: QS running in listen mode

INFO: IS running in callback mode

INFO: org.openadaptor.adaptor.jms.JMSSource Start processing JMS Queue/Topic defaultoutputtopic

Deploying web services for version 1.1

Generating service files for Guest access level.

Successfully compiled file ../Tomcat/temp/WSDL/test111BAS_StandardReply.java

Exception deploying Web Services Errors compiling test1.javas Note: sun.tools.javac.Main has been deprecated.

../Tomcat/temp/WSDL/test1.java:3: Class javax.servlet.ServletContext not found in import.

import javax.servlet.ServletContext;

^

../Tomcat/temp/WSDL/test1.java:4: Class javax.servlet.http.HttpServlet not found in import.

import javax.servlet.http.HttpServlet;

^

../Tomcat/temp/WSDL/test1.java:5: Class org.apache.axis.MessageContext not found in import.

import org.apache.axis.MessageContext;

^

../Tomcat/temp/WSDL/test1.java:6: Class org.apache.axis.transport.http.HTTPConstants not found in import.

import org.apache.axis.transport.http.HTTPConstants;

^

../Tomcat/temp/WSDL/test1.java:7: Class org.openadaptor.dataobjects.DataObject not found in import.

import org.openadaptor.dataobjects.DataObject;

^

../Tomcat/temp/WSDL/test1.java:8: Class com.bas.connectionserver.server.ConnectionFactory not found in import.

import com.bas.connectionserver.server.ConnectionFactory;

^

../Tomcat/temp/WSDL/test1.java:9: Class com.bas.connectionserver.server.IInteractionSession not found in import.

import com.bas.connectionserver.server.IInteractionSession;

^

../Tomcat/temp/WSDL/test1.java:10: Class com.bas.shared.data.CommonConstants not found in import.

import com.bas.shared.data.CommonConstants;

^

../Tomcat/temp/WSDL/test1.java:11: Class com.bas.shared.domain.configuration.elements.IDomainVersion not found in import.

import com.bas.shared.domain.configuration.elements.IDomainVersion;

^

../Tomcat/temp/WSDL/test1.java:12: Class com.bas.shared.domain.operation.IEntity not found in import.

import com.bas.shared.domain.operation.IEntity;

^

../Tomcat/temp/WSDL/test1.java:13: Class com.bas.shared.domain.operation.INotification not found in import.

import com.bas.shared.domain.operation.INotification;

^

../Tomcat/temp/WSDL/test1.java:14: Class com.bas.shared.message.MessageBuilder not found in import.

import com.bas.shared.message.MessageBuilder;

^

../Tomcat/temp/WSDL/test1.java:15: Class com.bas.webapp.misc.WebAppUtils not found in import.

import com.bas.webapp.misc.WebAppUtils;

^

../Tomcat/temp/WSDL/test1.java:16: Class com.bas.webapp.misc.WebAppParams not found in import.

import com.bas.webapp.misc.WebAppParams;

^

../Tomcat/temp/WSDL/test1.java:17: Class com.bas.webservices.WebServiceUtils not found in import.

import com.bas.webservices.WebServiceUtils;

^

15 errors, 1 warning

I also noticed that below /AwareIM/bin there came up a directory called D:\jakarta-tomcat-3.3.1\webapps\axis\WEB-INF\attachments but I'm using Linux !


Hubertus
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

the wsdd directory and the strange directory underneath AwareIM/bin are both empty
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

We will be investigating this. Please bear with us.
Aware IM Support Team
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This is now fixed in build 953
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

Could you please take a look at the version that's on your server ?
I just updated to the latest linux version and received a copy of build 949. The files in the .tar.gz are from around 2007-03-22 07:00

Thanks
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Apologies for the wrong file. Could you please try now?
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

8) Excellent - Many thanks for that !
mraath
Posts: 41
Joined: Wed Oct 10, 2007 2:09 pm
Location: South Africa

Location of WSDL files

Post by mraath »

I see to files in the WSDD directory with extension WSDD, and i cannot find any WSDL files.
Are we supposed to rename WSDD to WSDL in order for an external system to consume it?

On another note has anyone found a tool to consume Document Literal style web services? I am trying to get the Altova tool, Mapforce to work, has anyone managed to use this tool?

Thanks
Marcus
South Africa
aware_support wrote:There must be a directory AwareIM/Tomcat/webapps/AwareIM/WSDD. Are there any files in this directory?

Are there any error messages in the Tomcat output?

Aware IM deploys web services into the WSDD directory when the first user logs in. This creates a number of files. If there are any errors during this process the errors are written into the output console. We need to see the errors (if any).

Note that the deployment process only happens when you CHANGE something as far as services are concerned. So if you lost the output of the previous deployment you need to either change the service definition or delete the service, publish, login, re-create the service, publish and login. If you just login without changing anything the deployment process will not happen.
Best Regards
Marcus Raath
+27823009607
Post Reply