Hello Karyn,
Here is an example how to set a service class with selectors in 7.8:
builder := WsdlClassBuilder readFrom: wsdl readStream.
serviceMap :=
' <ns:serviceMaps xmlns:ns0="urn:wsdlTargetNamespace"
xmlns:ns="urn:visualworks:serviceMap">
<ns:serviceMap >
<ns:serviceClass>TestService</ns:serviceClass>
<ns:interface>ns0:PortTypeName</ns:interface>
<ns:operation name="GetTestClass"
selector="getTestClass:"/>
</ns:serviceMap>
</ns:serviceMaps>'.
builder readServiceMapFrom: serviceMap readStream.
builder package: 'MyPackage'.
builder opentalkServerName: 'OpentalkServerTestCase'.
serverClass := builder createOpentalkServerClass.
Tamara Kogan
Smalltalk Development
Cincom Systems
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On
Behalf Of Karyn Hurley
Sent: Tuesday, June 28, 2011 1:52 PM
To:
[hidden email]
Subject: [vwnc] WsdlClassBuilder setting serviceClasses:
I am migrating web service code from vw7.6 to vw7.8 and encountering an
error trying to set serviceClasses:
my code:
classBuilder := WebServices.WsdlClassBuilder readFrom: wsdl readStream.
classBuilder
package: 'My package';
opentalkServerName: 'OpentalkServerTestCase';
serviceClasses: (Array with: MyClass);
createOpentalkServerClass
How do I do this in vw7.8? Any help would be appreciated!
Thanks,
Karyn Hurley
IBM
--
View this message in context:
http://forum.world.st/WsdlClassBuilder-setting-serviceClasses-tp3630983p3630983.html
Sent from the VisualWorks mailing list archive at Nabble.com.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc