Skip to content
Permalink
Browse files
switch to axis2 1.3 and get it to compile. Tests were passed, but mor…
…e testing needed
  • Loading branch information
Hemapani Srinath Perera committed Sep 26, 2007
1 parent c8f815a commit 0f563bb15c442b266d949c82b6164dfe1617d23a
Showing 5 changed files with 9 additions and 7 deletions.
@@ -115,7 +115,7 @@ public CreateFeedResponse createFeed(String title, String author,

return createFeedResponseDocument.getCreateFeedResponse();
} catch (XmlException e) {
throw new AxisFault(e);
throw AxisFault.makeFault(e);
}
}

@@ -145,11 +145,11 @@ public void receive(MessageContext messageCtx) throws AxisFault {

} catch (SOAPProcessingException e) {
e.printStackTrace();
throw new AxisFault(e);
throw AxisFault.makeFault(e);

} catch (OMException e) {
e.printStackTrace();
throw new AxisFault(e);
throw AxisFault.makeFault(e);
// } catch (FileNotFoundException e) {
// e.printStackTrace();
// throw new AxisFault(e);
@@ -68,9 +68,9 @@ public void receive(MessageContext messageCtx) throws AxisFault {
PublicationClient client = new PublicationClient(serviceContext.getConfigurationContext());
client.sendPublication(eventData,serviceContext.getAxisService(),topic);
} catch (OMException e) {
throw new AxisFault(e);
throw AxisFault.makeFault(e);
} catch (URISyntaxException e) {
throw new AxisFault(e);
throw AxisFault.makeFault(e);
}
}
}
@@ -43,7 +43,7 @@ public void init(ServiceContext serviceContext) throws AxisFault {
thread.start();
Thread.sleep(10000);
} catch (InterruptedException e) {
throw new AxisFault(e);
throw AxisFault.makeFault(e);
}
}

@@ -69,11 +69,13 @@
</reporting>

<dependencies>
<!--
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-addressing</artifactId>
<version>${axis2.version}</version>
</dependency>
-->
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
@@ -240,7 +242,7 @@
</modules>

<properties>
<axis2.version>1.2</axis2.version>
<axis2.version>1.3</axis2.version>
<savan.version>SNAPSHOT</savan.version>
</properties>

0 comments on commit 0f563bb

Please sign in to comment.